From 214e51c5fa85bc808e3c3576f73bd764961f0eae Mon Sep 17 00:00:00 2001 From: lgdd Date: Tue, 16 Apr 2024 10:56:59 +0200 Subject: [PATCH] fix(ci): build uber jar for github release --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 183dacd..68269fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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