mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-16 14:40:23 +03:00
Cirrus: Skip builds if same commit was previously built
Doing this to save on CI credits that might otherwise be spent re-building the same commit multiple times. Also prevents us from publishing the same git revision as multiple Rolling release versions published days apart from one-another. For details of these env vars and the `skip` keyword, see: - https://cirrus-ci.org/guide/writing-tasks/#environment-variables - https://cirrus-ci.org/guide/writing-tasks/#conditional-task-execution
This commit is contained in:
parent
a08121d12f
commit
48531274b7
@ -57,6 +57,7 @@ env:
|
||||
arm_linux_task:
|
||||
alias: linux
|
||||
only_if: $CIRRUS_CRON != "" || $CIRRUS_TAG != ""
|
||||
skip: $CIRRUS_CHANGE_IN_REPO == $CIRRUS_LAST_GREEN_CHANGE
|
||||
arm_container:
|
||||
image: node:16-slim
|
||||
memory: 8G
|
||||
@ -119,6 +120,7 @@ arm_linux_task:
|
||||
silicon_mac_task:
|
||||
alias: mac
|
||||
only_if: $CIRRUS_CRON != "" || $CIRRUS_TAG != ""
|
||||
skip: $CIRRUS_CHANGE_IN_REPO == $CIRRUS_LAST_GREEN_CHANGE
|
||||
macos_instance:
|
||||
image: ghcr.io/cirruslabs/macos-monterey-xcode:14
|
||||
memory: 8G
|
||||
|
Loading…
Reference in New Issue
Block a user