Skip to content

Commit

Permalink
update to Java 21 in github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
LukBelter committed Jul 30, 2024
1 parent 407ed73 commit 05cc746
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
done
if [[ $changesOutsideDocsCI == true ]]; then
echo "testing_needed=true" >> "$GITHUB_OUTPUT"
echo "Changes outside CI and docs detected. Start testing pipeline."
else
echo "testing_needed=false" >> "$GITHUB_OUTPUT"
echo "No need for the build and test pipeline to run. Exiting."
Expand All @@ -64,10 +65,10 @@ jobs:
uses: actions/checkout@v3

- name: "Setup Java"
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
java-version: 21
cache: 'gradle'

- name: Setup Gradle cache
Expand Down Expand Up @@ -104,10 +105,10 @@ jobs:
uses: actions/checkout@v3

- name: "Setup Java"
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
java-version: 21
cache: 'gradle'

- name: Setup Gradle cache
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish-jars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ jobs:
steps:
- name: "Checkout Branch"
uses: actions/checkout@v3

- name: "Setup Java"
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
java-version: 21
cache: 'gradle'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
Expand Down

0 comments on commit 05cc746

Please sign in to comment.