fix(ci): run on tags, publish on both master push and tags

This commit is contained in:
2026-04-27 22:25:48 -04:00
parent e6df8fad98
commit c326d2571e
+2 -1
View File
@@ -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: