Skip to content

Commit 9820e3a

Browse files
committed
Switch maven publish to tag push
1 parent 1009a80 commit 9820e3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: ./gradlew clean build --parallel
3434

3535
- name: Publish to GitHub Packages
36-
if: ${{ github.event_name == 'release' }}
36+
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
3737
run: ./gradlew publish --parallel
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)