Don't publish on the push of any tag

The tags are named vX.Y, and we'll be 0.x for a while, so limiting the
publish-crate action to run v0 tags seems good enough to avoid
accidental publishes.
This commit is contained in:
Nickolay Ponomarev 2020-09-27 23:36:41 +03:00
parent cc4f51fe10
commit 0ac343a116

View file

@ -65,7 +65,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
publish-crate:
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/v0')
runs-on: ubuntu-latest
needs: [test]
steps: