diff --git a/.github/workflows/build-feature.yml b/.github/workflows/build-feature.yml index 1eca8c461be..7fd26db823f 100644 --- a/.github/workflows/build-feature.yml +++ b/.github/workflows/build-feature.yml @@ -22,7 +22,7 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v4 with: - distribution: 'adopt' + distribution: 'temurin' java-version: '17' cache: 'maven' diff --git a/.github/workflows/build-main.yml b/.github/workflows/build-main.yml index f28f7ffb2c6..8fc91167b29 100644 --- a/.github/workflows/build-main.yml +++ b/.github/workflows/build-main.yml @@ -21,7 +21,7 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v4 with: - distribution: 'adopt' + distribution: 'temurin' java-version: '17' cache: 'maven' @@ -55,7 +55,7 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v4 with: - distribution: 'adopt' + distribution: 'temurin' java-version: '17' cache: 'maven' diff --git a/.github/workflows/build-pullrequest.yml b/.github/workflows/build-pullrequest.yml index 0820473069e..0edad7d8bde 100644 --- a/.github/workflows/build-pullrequest.yml +++ b/.github/workflows/build-pullrequest.yml @@ -17,7 +17,7 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v4 with: - distribution: 'adopt' + distribution: 'temurin' java-version: '17' cache: 'maven' diff --git a/.github/workflows/release-to-maven-central.yml b/.github/workflows/release-to-maven-central.yml index bbd4fb2db54..d1043bf3274 100644 --- a/.github/workflows/release-to-maven-central.yml +++ b/.github/workflows/release-to-maven-central.yml @@ -24,7 +24,7 @@ jobs: - name: Set up settings.xml for Maven Central Repository uses: actions/setup-java@v4 with: - distribution: 'adopt' + distribution: 'temurin' java-version: '17' server-id: oss.sonatype.org server-username: MAVEN_USERNAME