Fix PLAT being wrong for m1 builds

pull/1222/head
Joseph Donofry 2 years ago
parent c6c8ac092b
commit 7f825e3ee8
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
  1. 4
      .gitlab-ci.yml

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

Loading…
Cancel
Save