Skip to content

Commit

Permalink
Tweak GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hpehl committed Dec 13, 2024
1 parent 69bdec2 commit 22e675f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down Expand Up @@ -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: |
Expand All @@ -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
Expand All @@ -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/[email protected]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22e675f

Please sign in to comment.