Skip to content

Commit

Permalink
chore: bump java lib deploy only when tag push
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <xpf6677@163.com>
  • Loading branch information
Peefy committed May 6, 2024
1 parent d09fbdc commit 7b8df16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/java-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:
permissions:
contents: read
packages: write
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
if: "startsWith(github.ref, 'refs/tags/')"
needs: [ test, build-on-centos ]
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 7b8df16

Please sign in to comment.