mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +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:
|
arm_linux_task:
|
||||||
alias: linux
|
alias: linux
|
||||||
only_if: $CIRRUS_CRON != "" || $CIRRUS_TAG != ""
|
only_if: $CIRRUS_CRON != "" || $CIRRUS_TAG != ""
|
||||||
|
skip: $CIRRUS_CHANGE_IN_REPO == $CIRRUS_LAST_GREEN_CHANGE
|
||||||
arm_container:
|
arm_container:
|
||||||
image: node:16-slim
|
image: node:16-slim
|
||||||
memory: 8G
|
memory: 8G
|
||||||
@ -119,6 +120,7 @@ arm_linux_task:
|
|||||||
silicon_mac_task:
|
silicon_mac_task:
|
||||||
alias: mac
|
alias: mac
|
||||||
only_if: $CIRRUS_CRON != "" || $CIRRUS_TAG != ""
|
only_if: $CIRRUS_CRON != "" || $CIRRUS_TAG != ""
|
||||||
|
skip: $CIRRUS_CHANGE_IN_REPO == $CIRRUS_LAST_GREEN_CHANGE
|
||||||
macos_instance:
|
macos_instance:
|
||||||
image: ghcr.io/cirruslabs/macos-monterey-xcode:14
|
image: ghcr.io/cirruslabs/macos-monterey-xcode:14
|
||||||
memory: 8G
|
memory: 8G
|
||||||
|
Loading…
Reference in New Issue
Block a user