diff options
author | Joseph Donofry <joedonofry@gmail.com> | 2022-10-27 18:55:52 -0400 |
---|---|---|
committer | Joseph Donofry <joedonofry@gmail.com> | 2022-10-27 18:55:52 -0400 |
commit | c6c8ac092bf972d6f61bfb5a2e79b6b3273c6444 (patch) | |
tree | 08a6cf9b28dbfddfd1c0ac8cc0eefad4cc93462b /.ci | |
parent | Merge branch 'cirrus_ci_apple_silicon' into 'master' (diff) | |
download | nheko-c6c8ac092bf972d6f61bfb5a2e79b6b3273c6444.tar.xz |
Fix conditional checks
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/macos/notarize.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.ci/macos/notarize.sh b/.ci/macos/notarize.sh index 7a67306d..2757d44c 100755 --- a/.ci/macos/notarize.sh +++ b/.ci/macos/notarize.sh @@ -11,7 +11,7 @@ export PATH security unlock-keychain -p "${RUNNER_USER_PW}" login.keychain -if [ "${CI_PIPELINE_TRIGGERED}" ] && [ "${TRIGGERED_BY}" = "cirrus" ]; then +if [ -n "${CI_PIPELINE_TRIGGERED:-}" ] && [ "${TRIGGERED_BY:-}" = "cirrus" ]; then echo "cirrus build id: ${TRIGGER_BUILD_ID}" cat "${TRIGGER_PAYLOAD}" # download the build artifacts from cirrus api |