diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index bc20937bf..a31dd3227 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -22,10 +22,10 @@ jobs: with: persist-credentials: false - name: Install JDK ${{ matrix.java-version }} - uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0 + uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c # v6.0.0 with: java-version: ${{ matrix.java-version }} - distribution: "adopt" + distribution: "temurin" - name: Cache Maven repository uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be46dd492..3f985c75b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,10 +18,10 @@ jobs: persist-credentials: false - name: Set up JDK 17 - uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0 + uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c # v6.0.0 with: java-version: "17" - distribution: "adopt" + distribution: "temurin" server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD