From 7b8af17676a9a5099e037c914e04dac6acd337ed Mon Sep 17 00:00:00 2001 From: Vaughn Dice Date: Wed, 13 Dec 2023 16:44:44 -0700 Subject: [PATCH] ci(release): only upload spin static bin to release if semver tag (#2169) Signed-off-by: Vaughn Dice --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 609b53407..65c62147a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -463,6 +463,7 @@ jobs: path: _dist/spin-${{ env.RELEASE_VERSION }}-static-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz - name: upload binary to Github release + if: startsWith(github.ref, 'refs/tags/v') uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }}