Skip to content

Commit

Permalink
- switch to Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
derreisende77 committed Oct 17, 2023
1 parent 09b12b7 commit d3fa8e9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 20
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '20'
java-version: '21'
java-package: jdk
- name: Cache local Maven repository
uses: actions/cache@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
id: check-if-changed
with:
paths: .github/workflows src/ res/ pom.xml .install4j/ .mvn/
- name: Set up JDK 20
- name: Set up JDK 21
if: steps.check-if-changed.outputs.changed == 'true'
uses: actions/setup-java@v1
with:
java-version: 20
java-version: 21

- name: Cache local Maven repository
if: steps.check-if-changed.outputs.changed == 'true'
Expand Down Expand Up @@ -73,10 +73,10 @@ jobs:
- uses: actions/checkout@v2
with:
ref: develop
- name: Set up JDK 20
- name: Set up JDK 21
uses: actions/setup-java@v1
with:
java-version: 20
java-version: 21
- uses: AdoptOpenJDK/install-jdk@v1
with:
version: '8'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
id: check-if-changed
with:
paths: .github/workflows src/ res/ pom.xml .install4j/ .mvn/
- name: Set up JDK 20
- name: Set up JDK 21
if: steps.check-if-changed.outputs.changed == 'true'
uses: actions/setup-java@v1
with:
java-version: 20
java-version: 21

- name: Cache local Maven repository
if: steps.check-if-changed.outputs.changed == 'true'
Expand Down Expand Up @@ -74,11 +74,11 @@ jobs:
- uses: actions/checkout@v2
with:
ref: develop
- name: Set up JDK 20
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
#distribution: 'temurin'
java-version: '20'
java-version: 21
- uses: AdoptOpenJDK/install-jdk@v1
with:
version: '8'
Expand Down Expand Up @@ -125,10 +125,10 @@ jobs:
- uses: actions/checkout@v2
with:
ref: develop
- name: Set up JDK 20
- name: Set up JDK 21
uses: actions/setup-java@v1
with:
java-version: 20
java-version: 21
- name: Get version
run: echo "VERSION=$( ./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout )" >> $GITHUB_ENV
- uses: actions/download-artifact@v2
Expand Down

0 comments on commit d3fa8e9

Please sign in to comment.