Skip to content

Commit

Permalink
Only run publish on new tag starting with v
Browse files Browse the repository at this point in the history
  • Loading branch information
jay0lee committed Apr 7, 2023
1 parent 7012bef commit eef2b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit eef2b95

Please sign in to comment.