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