Skip to content

Commit 7b8df16

Browse files
committed
chore: bump java lib deploy only when tag push
Signed-off-by: peefy <[email protected]>
1 parent d09fbdc commit 7b8df16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/java-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
permissions:
161161
contents: read
162162
packages: write
163-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
163+
if: "startsWith(github.ref, 'refs/tags/')"
164164
needs: [ test, build-on-centos ]
165165
steps:
166166
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)