diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 891792b5..964b98c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -983,7 +983,7 @@ jobs: - name: Set up JDK 22 id: setup-java continue-on-error: true - uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4 + uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 with: distribution: temurin java-version: "22" @@ -998,7 +998,7 @@ jobs: - name: Set up JDK 22 (retry) if: steps.setup-java.outcome == 'failure' - uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4 + uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 with: distribution: temurin java-version: "22" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 418a4074..c15e3582 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -758,7 +758,7 @@ jobs: # setup-java writes a settings.xml with the 'central' server credentials # (mapped from the env vars below) and imports the GPG signing key. - name: Set up JDK 22 + Maven Central credentials + GPG - uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4 + uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 with: distribution: temurin java-version: "22"