diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 430f5f03e..12ef2d932 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: cache: maven - name: Package id: package - run: $MVN package -P prod,theme-wildfly + run: $MVN package -DskipTests -P prod,theme-wildfly - name: Set up Maven Settings id: setup-maven-settings uses: actions/setup-java@v4 @@ -39,7 +39,7 @@ jobs: gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: Deploy id: deploy - run: $MVN deploy -P prod,release,theme-wildfly + run: $MVN -DskipTests deploy -P prod,release,theme-wildfly env: OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} @@ -74,7 +74,7 @@ jobs: password: ${{ secrets.QUAY_ROBOT_TOKEN }} - name: Standalone Tag id: standalone-tag - run: $MVN package --projects standalone --also-make -P native,prod,theme-hal -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true -Dquarkus.container-image.image=quay.io/halconsole/hal:${{ steps.get-version.outputs.version-without-v }}.Final '-Dquarkus.container-image.labels."org.opencontainers.image.revision"='$GITHUB_SHA -Dquarkus.native.remote-container-build=true + run: $MVN -DskipTests package --projects standalone --also-make -P native,prod,theme-hal -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true -Dquarkus.container-image.image=quay.io/halconsole/hal:${{ steps.get-version.outputs.version-without-v }}.Final '-Dquarkus.container-image.labels."org.opencontainers.image.revision"='$GITHUB_SHA -Dquarkus.native.remote-container-build=true - name: Check Latest id: check-latest run: | @@ -87,7 +87,7 @@ jobs: - name: Standalone Latest id: standalone-latest if: steps.check-latest.outputs.latest == 'true' - run: $MVN package --projects standalone --also-make -P native,prod,theme-hal -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true -Dquarkus.container-image.image=quay.io/halconsole/hal:latest '-Dquarkus.container-image.labels."org.opencontainers.image.revision"='$GITHUB_SHA -Dquarkus.native.remote-container-build=true + run: $MVN -DskipTests package --projects standalone --also-make -P native,prod,theme-hal -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true -Dquarkus.container-image.image=quay.io/halconsole/hal:latest '-Dquarkus.container-image.labels."org.opencontainers.image.revision"='$GITHUB_SHA -Dquarkus.native.remote-container-build=true publish: name: Publish to GitHub Pages @@ -108,7 +108,7 @@ jobs: cache: maven - name: Package id: package - run: $MVN package -P prod,theme-hal + run: $MVN -DskipTests package -P prod,theme-hal - name: Publish id: publish uses: JamesIves/github-pages-deploy-action@v4.7.2 diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 06fc651a8..098f8a6ec 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -23,7 +23,7 @@ jobs: cache: maven - name: Package id: package - run: $MVN package -P prod + run: $MVN package -DskipTests -P prod - name: Set up Maven Settings id: setup-maven-settings uses: actions/setup-java@v4 @@ -35,7 +35,7 @@ jobs: server-password: OSSRH_PASSWORD - name: Deploy id: deploy - run: $MVN deploy -P prod + run: $MVN deploy -DskipTests -P prod env: OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} @@ -48,4 +48,4 @@ jobs: password: ${{ secrets.QUAY_ROBOT_TOKEN }} - name: Standalone Latest id: standalone-latest - run: $MVN package --projects standalone --also-make -P native,prod,theme-hal -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true -Dquarkus.container-image.image=quay.io/halconsole/hal-development:latest '-Dquarkus.container-image.labels."org.opencontainers.image.revision"='$GITHUB_SHA -Dquarkus.native.remote-container-build=true + run: $MVN package -DskipTests --projects standalone --also-make -P native,prod,theme-hal -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true -Dquarkus.container-image.image=quay.io/halconsole/hal-development:latest '-Dquarkus.container-image.labels."org.opencontainers.image.revision"='$GITHUB_SHA -Dquarkus.native.remote-container-build=true diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index b461ffbbf..f0848c58b 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -25,7 +25,7 @@ jobs: id: setup-jdk uses: actions/setup-java@v4 with: - java-version: 17 + java-version: 11 distribution: temurin cache: maven - name: Verify