From f8394b9e2b8d4a638f684575e65112e29e865483 Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Thu, 15 Dec 2022 14:37:13 -0500 Subject: [PATCH] ci: only save version string and setup gcp if we're uploading binaries --- .github/workflows/vere.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/vere.yml b/.github/workflows/vere.yml index eb94e8ea94..b79e41ac2c 100644 --- a/.github/workflows/vere.yml +++ b/.github/workflows/vere.yml @@ -125,13 +125,14 @@ jobs: echo -n "$version" > ./version-string - name: upload version string artifact - if: matrix.type == 'linux' + if: inputs.upload && matrix.type == 'linux' uses: actions/upload-artifact@v3 with: name: version-string path: version-string - uses: google-github-actions/auth@v1 + if: inputs.upload with: credentials_json: ${{ secrets.GCP_CREDENTIALS }}