From d11bd14fced09bdf1109c208230cbc43edaaf31b Mon Sep 17 00:00:00 2001 From: Jamil Date: Wed, 8 Oct 2025 16:08:56 -0400 Subject: [PATCH] fix(ci): send PR swift builds to testflight (#10536) Fixes a bug introduced in #8778 that disabled uploading release builds on PR runs to the App Store for TestFlight distribution. --- .github/workflows/_swift.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/_swift.yml b/.github/workflows/_swift.yml index ca34c336c..3398f276f 100644 --- a/.github/workflows/_swift.yml +++ b/.github/workflows/_swift.yml @@ -104,7 +104,7 @@ jobs: name: macos-client-standalone-pkg path: "${{ runner.temp }}/${{ matrix.pkg-artifact-file }}" - run: ${{ matrix.upload-script }} - if: "${{ github.event_name == 'workflow_dispatch' && github.ref_name == 'main' }}" + if: "${{ github.event_name == 'workflow_dispatch' && (github.ref_name == 'main' || matrix.job_name != 'build-macos-standalone') }}" env: ARTIFACT_PATH: "${{ runner.temp }}/${{ matrix.artifact-file }}" ISSUER_ID: "${{ secrets.APPLE_APP_STORE_CONNECT_ISSUER_ID }}"