Skip to content

Commit

Permalink
Use JDK 17 to build (#73)
Browse files Browse the repository at this point in the history
Sonar does not like using JDK 11 anymore, and since sonar is part of the release step...
  • Loading branch information
BertScholten authored Mar 8, 2024
1 parent cf6a514 commit f7b9a3d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ROOT_POM_DIRECTORY: repo/source
JDK_VERSION: 17

- uses: aerius/github-actions/extras/docker-build-action@v1.0.2
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
ROOT_POM_DIRECTORY: repo/source
JDK_VERSION: 17

- uses: aerius/github-actions/extras/docker-build-or-publish-based-on-maven-project-version-action@v1.0.2
with:
Expand All @@ -31,3 +32,4 @@ jobs:
DOCKER_IMAGE_NAME: ${{ github.event.repository.name }}
DOCKER_WORK_DIRECTORY: repo/source
ROOT_POM_DIRECTORY: repo/source
JDK_VERSION: 17
2 changes: 2 additions & 0 deletions .github/workflows/on-release-published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
ROOT_POM_DIRECTORY: repo/source
JDK_VERSION: 17

- uses: aerius/github-actions/extras/docker-publish-action@v1.0.2
with:
Expand All @@ -32,3 +33,4 @@ jobs:
DOCKER_IMAGE_NAME: ${{ github.event.repository.name }}
ROOT_POM_DIRECTORY: repo/source
DOCKER_WORK_DIRECTORY: repo/source
JDK_VERSION: 17

0 comments on commit f7b9a3d

Please sign in to comment.