diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5e9cf5ac..27b95d69 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -82,7 +82,7 @@ jobs: name: 'Upload artifacts' needs: build-current-toolchain runs-on: ubuntu-latest - if: ${{ github.ref == 'refs/heads/master' && github.repository == 'isledecomp/isle-portable' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'isledecomp/isle-portable' }} steps: - uses: actions/checkout@v4 with: