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

View file

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