Only run publish on new tag starting with v

This commit is contained in:
Jay Lee
2023-04-07 09:49:02 -04:00
committed by GitHub
parent 7012bef28d
commit eef2b95948

View File

@@ -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: