Use temurin distribution for setup-java action (#2297)

Per the note on the README for `actions/setup-java`: "AdoptOpenJDK got moved to Eclipse Temurin and won't be updated anymore. It is highly recommended to migrate workflows from `adopt` and `adopt-openj9`, to `temurin` and `semeru` respectively, to keep receiving software and security updates."
This commit is contained in:
Luna712
2025-12-04 17:52:24 -07:00
committed by GitHub
parent f2a008922d
commit f77df2f3bf
4 changed files with 4 additions and 4 deletions

View File

@@ -38,8 +38,8 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 17
distribution: adopt
cache: gradle
- name: Grant execute permission for gradlew

View File

@@ -43,8 +43,8 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 17
distribution: adopt
cache: gradle
- name: Set up Android SDK

View File

@@ -29,8 +29,8 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 17
distribution: adopt
cache: gradle
- name: Grant execute permission for gradlew

View File

@@ -11,8 +11,8 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 17
distribution: adopt
cache: gradle
- name: Grant execute permission for gradlew