From 5a45700204079e77e9b85ab08e0c015555729bb4 Mon Sep 17 00:00:00 2001 From: Stephen Zhou <38493346+hyoban@users.noreply.github.com> Date: Fri, 28 Mar 2025 11:10:52 +0800 Subject: [PATCH] ci: fix skip condition --- .github/workflows/build-eas-development.yml | 4 ++-- .github/workflows/build-eas.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-eas-development.yml b/.github/workflows/build-eas-development.yml index 526ce758e..319b39357 100644 --- a/.github/workflows/build-eas-development.yml +++ b/.github/workflows/build-eas-development.yml @@ -38,7 +38,7 @@ jobs: build: name: Build iOS IPA for device - if: ${{ contains(github.head_ref || github.ref, 'refs/heads/') }} + if: github.secret_source != 'None' needs: check-runner runs-on: ${{ needs.check-runner.outputs.runner-label }} @@ -83,7 +83,7 @@ jobs: build-simulator: name: Build iOS IPA for simulator - if: ${{ contains(github.head_ref || github.ref, 'refs/heads/') }} + if: github.secret_source != 'None' runs-on: macos-latest steps: diff --git a/.github/workflows/build-eas.yml b/.github/workflows/build-eas.yml index e9820a09b..a94951a37 100644 --- a/.github/workflows/build-eas.yml +++ b/.github/workflows/build-eas.yml @@ -45,7 +45,7 @@ jobs: build: name: Build iOS IPA - if: ${{ contains(github.head_ref || github.ref, 'refs/heads/') }} + if: github.secret_source != 'None' needs: check-runner runs-on: ${{ needs.check-runner.outputs.runner-label }}