ci: fix skip condition

This commit is contained in:
Stephen Zhou 2025-03-28 11:10:52 +08:00
parent 0770bb9fb8
commit 5a45700204
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

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

View File

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