diff --git a/.github/workflows/maven_tests.yml b/.github/workflows/maven_tests.yml index 16e5fc5d75..6f5a277886 100644 --- a/.github/workflows/maven_tests.yml +++ b/.github/workflows/maven_tests.yml @@ -52,7 +52,7 @@ jobs: ## Setup the specified version of Java (includes maven/gradle). - name: Set up JDK ${{ matrix.jdk }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' # v2 requires explicitly stating the distribution - `zulu` and `adopt` supported at time of writing java-version: ${{ matrix.jdk }} # Use matrix to select which JDK level to use @@ -114,7 +114,7 @@ jobs: with: fetch-depth: "0" - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '11' distribution: 'zulu' diff --git a/.github/workflows/prepare_release_changelog.yml b/.github/workflows/prepare_release_changelog.yml index 59029b9a7a..0ee4a257f9 100644 --- a/.github/workflows/prepare_release_changelog.yml +++ b/.github/workflows/prepare_release_changelog.yml @@ -19,7 +19,7 @@ jobs: # Setup Java 11 environment for the next steps - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: zulu java-version: 11