mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-16 14:40:23 +03:00
CI: Tweak Cirrus build filter to allow tag pushes
We were trying to filter for a certain PR label before, but inadvertently checked the wrong env var, based on interpreting some guidance we got from Cirrus team. In researching what it should be instead, it occurred to me we can indeed use the `CIRRUS_TAG` env var to check for *any tag push*, which should actually do pretty well at filtering for releases after all, since releases are the only times we really push tags.
This commit is contained in:
parent
cb99b1a135
commit
b5918acfce
@ -56,7 +56,7 @@ env:
|
||||
|
||||
arm_linux_task:
|
||||
alias: linux
|
||||
only_if: $CIRRUS_CRON != "" || $CIRRUS_TAG == "regular_release"
|
||||
only_if: $CIRRUS_CRON != "" || $CIRRUS_TAG != ""
|
||||
arm_container:
|
||||
image: node:16-slim
|
||||
memory: 8G
|
||||
@ -118,7 +118,7 @@ arm_linux_task:
|
||||
|
||||
silicon_mac_task:
|
||||
alias: mac
|
||||
only_if: $CIRRUS_CRON != "" || $CIRRUS_TAG == "regular_release"
|
||||
only_if: $CIRRUS_CRON != "" || $CIRRUS_TAG != ""
|
||||
macos_instance:
|
||||
image: ghcr.io/cirruslabs/macos-monterey-xcode:14
|
||||
memory: 8G
|
||||
|
Loading…
Reference in New Issue
Block a user