Fix PR pipeline from external repos.

This commit is contained in:
Jan-Otto Kröpke 2022-09-21 11:23:20 +02:00 committed by Jan-Otto Kröpke
parent 65b9776229
commit 838b1d473c
No known key found for this signature in database
1 changed files with 8 additions and 0 deletions

View File

@ -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