diff --git a/.github/workflows/binaries.yml b/.github/workflows/binaries.yml index a62f38be0f2..709f4990f6e 100644 --- a/.github/workflows/binaries.yml +++ b/.github/workflows/binaries.yml @@ -197,7 +197,7 @@ jobs: with: java-version: '24' distribution: 'corretto' - java-package: 'jdk' + check-latest: true - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Generate JBang cache key diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 38c21634369..b6bfbe9950a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -94,7 +94,7 @@ jobs: with: java-version: '24' distribution: 'corretto' - java-package: 'jdk' + check-latest: true - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Generate JBang cache key diff --git a/.github/workflows/run-openrewrite.yml b/.github/workflows/run-openrewrite.yml index 945cd6f4a11..d160804bf99 100644 --- a/.github/workflows/run-openrewrite.yml +++ b/.github/workflows/run-openrewrite.yml @@ -35,6 +35,7 @@ jobs: with: java-version: 24 distribution: 'corretto' + check-latest: true - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Generate JBang cache key diff --git a/.github/workflows/tests-code-fetchers.yml b/.github/workflows/tests-code-fetchers.yml index 03e5fefe762..118899dc7a9 100644 --- a/.github/workflows/tests-code-fetchers.yml +++ b/.github/workflows/tests-code-fetchers.yml @@ -57,6 +57,7 @@ jobs: with: java-version: 24 distribution: 'corretto' + check-latest: true - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Run fetcher tests diff --git a/.github/workflows/tests-code.yml b/.github/workflows/tests-code.yml index e24aa968bd4..0b43ffb33b3 100644 --- a/.github/workflows/tests-code.yml +++ b/.github/workflows/tests-code.yml @@ -52,6 +52,7 @@ jobs: with: java-version: 24 distribution: 'corretto' + check-latest: true - name: Run checkstyle reporter uses: dbelyaev/action-checkstyle@master with: @@ -91,6 +92,7 @@ jobs: with: java-version: 24 distribution: 'corretto' + check-latest: true - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Generate JBang cache key @@ -125,6 +127,7 @@ jobs: with: java-version: 24 distribution: 'corretto' + check-latest: true - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Generate JBang cache key @@ -242,6 +245,7 @@ jobs: with: java-version: 24 distribution: 'corretto' + check-latest: true - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Generate JBang cache key @@ -277,6 +281,7 @@ jobs: with: java-version: 24 distribution: 'corretto' + check-latest: true - name: Generate JBang cache key id: cache-key shell: bash @@ -325,6 +330,7 @@ jobs: with: java-version: 24 distribution: 'corretto' + check-latest: true - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Generate JBang cache key @@ -374,6 +380,7 @@ jobs: with: java-version: 24 distribution: 'corretto' + check-latest: true - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Generate JBang cache key @@ -422,6 +429,7 @@ jobs: with: java-version: 24 distribution: 'corretto' + check-latest: true - name: Generate JBang cache key id: cache-key shell: bash @@ -462,6 +470,7 @@ jobs: with: java-version: 24 distribution: 'corretto' + check-latest: true - name: Generate JBang cache key id: cache-key shell: bash @@ -538,6 +547,7 @@ jobs: with: java-version: 24 distribution: 'corretto' + check-latest: true - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Generate JBang cache key @@ -583,6 +593,7 @@ jobs: with: java-version: 24 distribution: 'corretto' + check-latest: true - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - run: ./gradlew traceRequirements