From 838b1d473c4404105888e8fc759ec1c2ae0ebc43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Wed, 21 Sep 2022 11:23:20 +0200 Subject: [PATCH] Fix PR pipeline from external repos. --- .github/workflows/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4e1be14..c98d51b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,6 +38,14 @@ jobs: choco install visualstudio2019buildtools visualstudio2019-workload-vctools fi if [ "$RUNNER_OS" == "macOS" ]; then + if [ "${CSC_LINK}" = "" ]; then + unset CSC_LINK + fi + + if [ "${CSC_KEY_PASSWORD}" = "" ]; then + unset CSC_KEY_PASSWORD + fi + env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64 --config.dmg.sign=false" make build for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.dmg; do if [[ "$file" == *"arm64"* ]]; then