diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 829b25f67..b72d38958 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -58,6 +58,7 @@ jobs: - name: create version number id: version_number + if: github.event_name == 'push' run: | latest=$(cat ../nightly-builds/latest-subsurface-buildnumber) today=$(date '+%Y-%m-%d') diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 3af8eda1a..a91382854 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -56,6 +56,7 @@ jobs: - name: create version number id: version_number + if: github.event_name == 'push' run: | latest=$(cat ../nightly-builds/latest-subsurface-buildnumber) today=$(date '+%Y-%m-%d') diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 0832ad393..cee3b4003 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -50,6 +50,7 @@ jobs: - name: create version number id: version_number + if: github.event_name == 'push' run: | latest=$(cat ../nightly-builds/latest-subsurface-buildnumber) today=$(date '+%Y-%m-%d')