Skip to content

Commit

Permalink
fix: deploy to gh only version without SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
ariwk authored Jan 8, 2025
1 parent 4477c58 commit 0e1750a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,6 @@ jobs:
- name: 📦 Deploy artifacts to GitHub Packages
run: mvn --batch-mode -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dmaven.source.skip=true deploy -P deploy-github-packages
- name: 📦 Upload assets to GitHub Release
if: ${{ !endsWith(needs.build.outputs.project_version, '-SNAPSHOT') }}
run: |-
gh release upload v${{ needs.build.outputs.project_version }} target/*-${{ needs.build.outputs.project_version }}.jar

0 comments on commit 0e1750a

Please sign in to comment.