aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/jvm.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/jvm.yml')
-rw-r--r--.github/workflows/jvm.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/jvm.yml b/.github/workflows/jvm.yml
index 62ba3dd..9fb4746 100644
--- a/.github/workflows/jvm.yml
+++ b/.github/workflows/jvm.yml
@@ -70,7 +70,8 @@ jobs:
publish-release:
name: Publish Packages to Maven Central and GitHub Packages
needs: build-and-test
- if: ${{ github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/') }}
+ # Only run on this on proper semver (vX.Y.Z) tags
+ if: ${{ github.ref_type == 'tag' && startsWith(github.ref_name, 'v') }}
runs-on: ubuntu-latest
permissions:
packages: write