Fix conditional checks

This commit is contained in:
Joseph Donofry 2022-10-27 18:55:52 -04:00
parent 1d477dfc65
commit c6c8ac092b
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB
2 changed files with 2 additions and 2 deletions

View file

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