mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
Merge branch 'cirrus_updates' into 'master'
Cirrus updates See merge request nheko-reborn/nheko!24
This commit is contained in:
commit
07707e1558
1 changed files with 2 additions and 8 deletions
10
.cirrus.yml
10
.cirrus.yml
|
@ -2,7 +2,6 @@ task:
|
|||
macos_instance:
|
||||
image: ghcr.io/cirruslabs/macos-monterey-xcode:13
|
||||
name: Build - macOS Apple Silicon
|
||||
only_if: $CIRRUS_REPO_OWNER == 'Nheko-Reborn'
|
||||
environment:
|
||||
GITLAB_TRIGGER_TOKEN: ENCRYPTED[!5fb4bbdecbde3b2c766ac7383dca573cd5ec8b815c5ac9bede0cadfe9ad70ecd3e64b1728f7840da087099f3fc1fd4f7!]
|
||||
homebrew_script:
|
||||
|
@ -13,12 +12,7 @@ task:
|
|||
zip_script:
|
||||
- ditto -c -k --sequesterRsrc --keepParent build/nheko.app build/nheko.zip
|
||||
gitlab_script:
|
||||
- curl -X POST
|
||||
--fail
|
||||
-F token="${GITLAB_TRIGGER_TOKEN}"
|
||||
-F ref="${CIRRUS_BRANCH}"
|
||||
-F "variables[TRIGGER_BUILD_ID]=${CIRRUS_BUILD_ID}"
|
||||
-F "variables[TRIGGERED_BY]=cirrus"
|
||||
"https://nheko.im/api/v4/projects/2/trigger/pipeline"
|
||||
- >
|
||||
[ "${CIRRUS_BRANCH}" == "master" ] && curl -X POST --fail -F token="${GITLAB_TRIGGER_TOKEN}" -F ref="${CIRRUS_BRANCH}" -F "variables[TRIGGER_BUILD_ID]=${CIRRUS_BUILD_ID}" -F "variables[TRIGGERED_BY]=cirrus" "https://nheko.im/api/v4/projects/2/trigger/pipeline" || true
|
||||
binaries_artifacts:
|
||||
path: build/nheko.zip
|
Loading…
Reference in a new issue