From eef2b959486903ec0e1d560f936f1d3daecb046a Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Fri, 7 Apr 2023 09:49:02 -0400 Subject: [PATCH] Only run publish on new tag starting with v --- .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 ab818345..3bf5bb78 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -806,7 +806,7 @@ jobs: tar cJvvf bin.tar.xz bin/ publish: - if: github.event_name == 'push' + if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') runs-on: ubuntu-latest needs: build steps: