Skip to content

Commit cb14f0b

Browse files
committed
Publish to GitHub Packages on release tags only
1 parent 36e4f70 commit cb14f0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/maven-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
publish:
4545
name: Publish Package
46-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
46+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
4747
needs: fast-tests
4848
runs-on: ubuntu-latest
4949
permissions:

0 commit comments

Comments
 (0)