mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Fix conditional checks
This commit is contained in:
parent
1d477dfc65
commit
c6c8ac092b
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ export PATH
|
||||||
|
|
||||||
security unlock-keychain -p "${RUNNER_USER_PW}" login.keychain
|
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}"
|
echo "cirrus build id: ${TRIGGER_BUILD_ID}"
|
||||||
cat "${TRIGGER_PAYLOAD}"
|
cat "${TRIGGER_PAYLOAD}"
|
||||||
# download the build artifacts from cirrus api
|
# download the build artifacts from cirrus api
|
||||||
|
|
|
@ -153,7 +153,7 @@ codesign-macos:
|
||||||
rules:
|
rules:
|
||||||
- if : '$CI_COMMIT_BRANCH == "master"'
|
- if : '$CI_COMMIT_BRANCH == "master"'
|
||||||
- if : $CI_COMMIT_TAG
|
- if : $CI_COMMIT_TAG
|
||||||
- if : '$CI_PIPELINE_TRIGGERED && $CI_COMMIT_REF_PROTECTED'
|
- if : '$CI_PIPELINE_TRIGGERED && $CI_COMMIT_REF_PROTECTED == "true"'
|
||||||
variables:
|
variables:
|
||||||
PLAT: "m1"
|
PLAT: "m1"
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Reference in a new issue