From f75aa8557bfdd23b037d7bd57ac378d24ace63e0 Mon Sep 17 00:00:00 2001 From: Haitao Pan Date: Tue, 30 Jun 2026 07:32:58 +0800 Subject: [PATCH] ci: keep TestFlight package release-only (cherry picked from commit bd500d66c732b47b9c2eee0a99364dcffaffc120) --- .github/workflows/build-and-release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 1e50984c..d14b4cd8 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -144,7 +144,11 @@ jobs: - platform: macos arch: arm64 package: app-store-pkg - release_only: true + # Quoted so the `matrix.release_only != 'true'` guard compares + # string-to-string. A YAML boolean here coerces to a number in + # GitHub expressions (true -> 1, 'true' -> NaN), making the guard + # always true and building this release-only leg on every PR. + release_only: "true" runs_on: macos-14 artifact_name: build-macos-arm64-pkg artifact_paths: |