diff --git a/.github/workflows/armv7.sh b/.github/workflows/armv7.sh index 9dc56d8..6adfdd9 100755 --- a/.github/workflows/armv7.sh +++ b/.github/workflows/armv7.sh @@ -13,6 +13,7 @@ echo "Configure" echo "====================================================" export PATH="$PATH:$PWD/submodules/flutter/bin" +export DART_VM_OPTIONS="--root-certs-file=/passy-bin/pubdev.pem" git config --global --add safe.directory /Passy git config --global --add safe.directory /Passy/submodules/flutter git submodule init diff --git a/.github/workflows/build-linux-armv7-ci.yml b/.github/workflows/build-linux-armv7-ci.yml index a6f902a..f6fa23d 100644 --- a/.github/workflows/build-linux-armv7-ci.yml +++ b/.github/workflows/build-linux-armv7-ci.yml @@ -29,6 +29,9 @@ jobs: run: | sudo apt-get update sudo apt-get install -y qemu binfmt-support qemu-user-static qemu-system-arm + - name: Get pub.dev SSL certificate + shell: bash + run: echo | openssl s_client -servername pub.dev -connect pub.dev:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /home/runner/work/Passy/bin/pubdev.pem - name: Build for ARMv7 uses: tj-actions/docker-run@v2 with: