diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 8c9645f..47230e5 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -178,11 +178,6 @@ jobs: distribution: 'temurin' cache: maven - - name: "Prepare Build" - run: > - mvn --no-transfer-progress --batch-mode clean package -Pci-build -DskipTests - - - name: 'Download VUE.JS Artifact' if: contains(github.ref, 'v') uses: actions/download-artifact@v3 @@ -195,6 +190,10 @@ jobs: rm -Rf testdata-generator-quarkus-rest-app/src/main/resources/static-web/ui mv testdata-generator-ui/dist testdata-generator-quarkus-rest-app/src/main/resources/static-web/ui + - name: "Prepare Build" + run: > + mvn --no-transfer-progress --batch-mode clean package -Pci-build -DskipTests + - name: "Build linux/amd64 Image" run: | mvn --no-transfer-progress --batch-mode -Pci-build \ @@ -281,9 +280,6 @@ jobs: distribution: 'temurin' cache: maven - - name: "Prepare Build" - run: > - mvn --no-transfer-progress --batch-mode clean package -Pci-build -DskipTests - name: 'Download VUE.JS Artifact' if: contains(github.ref, 'v') uses: actions/download-artifact@v3 @@ -296,6 +292,10 @@ jobs: rm -Rf testdata-generator-quarkus-rest-app/src/main/resources/static-web/ui mv testdata-generator-ui/dist testdata-generator-quarkus-rest-app/src/main/resources/static-web/ui + - name: "Prepare Build" + run: > + mvn --no-transfer-progress --batch-mode clean package -Pci-build -DskipTests + - name: "Build ${{matrix.platform}} native Image" run: | mvn --no-transfer-progress --batch-mode package -Dnative -Pci-build -DskipTests -f ./testdata-generator-quarkus-rest-app/pom.xml \ @@ -403,10 +403,6 @@ jobs: native-image-job-reports: 'true' github-token: ${{ secrets.GITHUB_TOKEN }} - - name: "Prepare Build" - run: | - mvn --no-transfer-progress --batch-mode -Pci-build clean package -DskipTests - - name: 'Download VUE.JS Artifact' if: contains(github.ref, 'v') uses: actions/download-artifact@v3 @@ -419,6 +415,11 @@ jobs: rm -Rf testdata-generator-quarkus-rest-app/src/main/resources/static-web/ui mv testdata-generator-ui/dist testdata-generator-quarkus-rest-app/src/main/resources/static-web/ui + + - name: "Prepare Build" + run: | + mvn --no-transfer-progress --batch-mode -Pci-build clean package -DskipTests + - name: "Build Native Quarkus Executable" run: | mvn --no-transfer-progress --batch-mode clean package -Pnative -Pci-build -DskipTests -f ./testdata-generator-quarkus-rest-app/pom.xml