diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fd5522ba..8a8b3671 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,6 +11,7 @@ concurrency: jobs: build-apple: runs-on: macos-latest + if: github.head_ref == 'release' && github.event.pull_request.merged == true steps: - uses: actions/checkout@v4 - uses: Homebrew/actions/setup-homebrew@master @@ -42,7 +43,6 @@ jobs: build-android: runs-on: macos-latest - if: github.head_ref == 'release' && github.event.pull_request.merged == true steps: - uses: actions/checkout@v4 - uses: Homebrew/actions/setup-homebrew@master