diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index b72d38958..fb59a3061 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -19,6 +19,7 @@ jobs: - name: atomically create or retrieve the build number id: build_nr + if: github.event_name == 'push' run: | cd .. # check out parallel to subsurface sources url="https://subsurface:${{ secrets.NIGHTLY_BUILDS }}@github.com/subsurface/nightly-builds" diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index a91382854..af5e28378 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -15,6 +15,7 @@ jobs: uses: actions/checkout@v1 - name: atomically create or retrieve the build number id: build_nr + if: github.event_name == 'push' run: | cd .. # check out parallel to subsurface sources url="https://subsurface:${{ secrets.NIGHTLY_BUILDS }}@github.com/subsurface/nightly-builds" diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index cee3b4003..11719acd7 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -19,6 +19,7 @@ jobs: - name: atomically create or retrieve the build number id: build_nr + if: github.event_name == 'push' run: | cd .. # check out parallel to subsurface sources url="https://subsurface:${{ secrets.NIGHTLY_BUILDS }}@github.com/subsurface/nightly-builds"