diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 73491227e90..a8924d5e694 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Maven Central Repository - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '8' distribution: 'adopt' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ca0620b5af4..81a1ed1b663 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up JDK ${{matrix.java-version}} PR - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{matrix.java-version}} distribution: 'temurin' @@ -51,14 +51,14 @@ jobs: - uses: actions/checkout@v4 - name: Set up JDK ${{matrix.java-version}} PR if: github.event_name == 'pull_request' - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{matrix.java-version}} distribution: 'temurin' # Step that does that actual cache save and restore - name: Set up JDK ${{matrix.java-version}} Branch if: github.event_name != 'pull_request' - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{matrix.java-version}} distribution: 'temurin'