Skip to content

Commit

Permalink
sync github builds across all plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
hgschmie committed Sep 14, 2024
1 parent 56a623c commit 3c98202
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
test-java-version: [11, 17, 21]
java-version: [ 11, 17, 21, 22 ]

steps:
- uses: actions/checkout@v4
Expand All @@ -31,19 +31,19 @@ jobs:

- name: build distribution
env:
MAVEN_CONFIG: "-Dbasepom.check.skip-enforcer=false -B -fae"
MAVEN_ARGS: "-Dbasepom.check.skip-enforcer=false -B -fae"
run: |
make install-fast
- uses: actions/setup-java@v4
id: test_jdk
with:
java-version: ${{ matrix.test-java-version }}
java-version: ${{ matrix.java-version }}
distribution: temurin
cache: maven

- name: run tests
env:
MAVEN_CONFIG: "-B -fae"
MAVEN_ARGS: "-B -fae"
run: |
make run-tests
7 changes: 4 additions & 3 deletions .github/workflows/master-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
env:
NEXUS_REPO_USER: ${{ secrets.NEXUS_REPO_USER }}
NEXUS_REPO_PASSWORD: ${{ secrets.NEXUS_REPO_PASSWORD }}
MAVEN_CONFIG: "-B -fae"
MAVEN_ARGS: "-B -fae"
run: |
make deploy
Expand All @@ -55,5 +55,6 @@ jobs:
- name: publish docs
env:
SITE_DEPLOY: ${{ secrets.SITE_DEPLOY_TOKEN }}
MAVEN_CONFIG: "-Dbasepom.it.skip=false -B -fae"
run: make deploy-site
MAVEN_ARGS: "-B -fae"
run: |
make deploy-site
2 changes: 1 addition & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:

- name: run code checkers
env:
MAVEN_CONFIG: "-B -fae"
MAVEN_ARGS: "-B -fae"
run: |
make install-notests
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ run-tests::
deploy::
${MAVEN} clean deploy

deploy-site::
${MAVEN} clean install site-deploy
deploy-site:: MAVEN_ARGS += -Dbasepom.it.skip=false
deploy-site:: install
${MAVEN} site-deploy

release::
${MAVEN} clean release:clean release:prepare release:perform
Expand Down

0 comments on commit 3c98202

Please sign in to comment.