Skip to content

Commit 214e51c

Browse files
author
lgdd
committed
fix(ci): build uber jar for github release
1 parent 03640f9 commit 214e51c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
distribution: 'zulu'
2929
java-version: '17'
3030
cache: 'maven'
31-
- run: ./mvnw package
31+
- run: ./mvnw package -Dquarkus.package.type=uber-jar
3232
- env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434
run: |
35-
gh release upload ${{ needs.release-please.outputs.tag_name }} $(ls target/*.jar)
35+
gh release upload ${{ needs.release-please.outputs.tag_name }} $(ls target/*-runner.jar)
3636
push-java-docker-image:
3737
needs: release-please
3838
if: needs.release-please.outputs.release_created

0 commit comments

Comments
 (0)