From 9a8bf0f55bba233ab3b8c7b976aad1394bd64a6c Mon Sep 17 00:00:00 2001 From: torsm Date: Thu, 24 Aug 2023 09:10:12 +0000 Subject: [PATCH] Only run 'Upload installers' action when pushing to master --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a35ac75a..64701bad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -246,7 +246,7 @@ jobs: go test -race github.com/google/fleetspeak/fleetspeak/src/windows/... --timeout 180s upload-installers: - if: ${{ github.event_name == 'push' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} runs-on: ubuntu-22.04 env: GCS_BUCKET: autobuilds-fleetspeak