Skip to content

Commit

Permalink
Temurin JDK (#4011)
Browse files Browse the repository at this point in the history
https://github.com/actions/setup-java/blob/main/README.md

NOTE: Adopt OpenJDK got moved to Eclipse Temurin and won't
be updated anymore. It is highly recommended to migrate
workflows from adopt to temurin to keep receiving software
and security updates.
  • Loading branch information
sullis authored Dec 19, 2021
1 parent 6f755cc commit e813845
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Java 17
uses: actions/setup-java@v2
with:
distribution: adopt
distribution: temurin
java-version: 17

- name: Autobuild
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@ jobs:
name: Setup Java 8 for tests
uses: actions/setup-java@v2
with:
distribution: adopt
distribution: temurin
java-version: 8
java-package: jre
- id: setup-java-11
name: Setup Java 11 for tests
uses: actions/setup-java@v2
with:
distribution: adopt
distribution: temurin
java-version: 11
- id: setup-java-17
name: Setup Java 17
uses: actions/setup-java@v2
with:
distribution: adopt
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
name: Setup Java 11
uses: actions/setup-java@v2
with:
distribution: adopt
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/patch-release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
ref: ${{ needs.prepare-release-branch.outputs.release-branch-name }}
- uses: actions/setup-java@v2
with:
distribution: adopt
distribution: temurin
java-version: 17
- name: Setup git name
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,20 @@ jobs:
name: Setup Java 8 for tests
uses: actions/setup-java@v2
with:
distribution: adopt
distribution: temurin
java-version: 8
java-package: jre
- id: setup-java-11
name: Setup Java 11 for tests
uses: actions/setup-java@v2
with:
distribution: adopt
distribution: temurin
java-version: 11
- id: setup-java-17
name: Setup Java 17
uses: actions/setup-java@v2
with:
distribution: adopt
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-examples-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Java 17
uses: actions/setup-java@v2
with:
distribution: adopt
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/setup-java@v2
with:
distribution: adopt
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
Expand Down

0 comments on commit e813845

Please sign in to comment.