diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b59c53..0a5a4c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,7 @@ name: CI on: push: branches: [master] + tags: ['v*'] pull_request: branches: [master] @@ -28,7 +29,7 @@ jobs: publish: needs: test runs-on: ubuntu-latest - if: github.ref == 'refs/heads/master' && github.event_name == 'push' + if: (github.ref == 'refs/heads/master' && github.event_name == 'push') || startsWith(github.ref, 'refs/tags/') permissions: id-token: write steps: