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:
DeeDeeG 2023-08-31 01:02:19 -04:00 committed by GitHub
parent cb99b1a135
commit b5918acfce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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