Fix PLAT being wrong for m1 builds

This commit is contained in:
Joseph Donofry 2022-10-27 19:08:27 -04:00
parent c6c8ac092b
commit 7f825e3ee8
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
1 changed files with 2 additions and 2 deletions

View File

@ -151,11 +151,11 @@ codesign-macos:
- job: build-macos
optional: true # optional since we want to be able to also trigger this job from cirrus ci for apple silicon builds.
rules:
- if : '$CI_COMMIT_BRANCH == "master"'
- if : $CI_COMMIT_TAG
- if : '$CI_PIPELINE_TRIGGERED && $CI_COMMIT_REF_PROTECTED == "true"'
variables:
PLAT: "m1"
- if : '$CI_COMMIT_BRANCH == "master"'
- if : $CI_COMMIT_TAG
artifacts:
paths:
- artifacts/nheko-${CI_COMMIT_SHORT_SHA}_${PLAT}.dmg