From 7b8df160955d3f554dfa7208f8a2694c562da175 Mon Sep 17 00:00:00 2001 From: peefy Date: Mon, 6 May 2024 21:53:02 +0800 Subject: [PATCH] chore: bump java lib deploy only when tag push Signed-off-by: peefy --- .github/workflows/java-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/java-test.yaml b/.github/workflows/java-test.yaml index b441d1b..7585d88 100644 --- a/.github/workflows/java-test.yaml +++ b/.github/workflows/java-test.yaml @@ -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