Skip to content

Commit

Permalink
fix(ci): build uber jar for github release
Browse files Browse the repository at this point in the history
  • Loading branch information
lgdd committed Apr 16, 2024
1 parent 03640f9 commit 214e51c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
distribution: 'zulu'
java-version: '17'
cache: 'maven'
- run: ./mvnw package
- run: ./mvnw package -Dquarkus.package.type=uber-jar
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ needs.release-please.outputs.tag_name }} $(ls target/*.jar)
gh release upload ${{ needs.release-please.outputs.tag_name }} $(ls target/*-runner.jar)
push-java-docker-image:
needs: release-please
if: needs.release-please.outputs.release_created
Expand Down

0 comments on commit 214e51c

Please sign in to comment.