diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 4918d5318..d2d34a0cb 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # V4.2.2 - name: Set up JDK 8 - uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # V4.7.1 + uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # V5.0.0 with: distribution: 'temurin' # Or 'zulu', 'adopt', etc., if you prefer java-version: '8.0.412+8' diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index e08720fb9..42148fcc6 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -22,7 +22,7 @@ jobs: uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: distribution: 'temurin' # Or 'zulu', 'adopt', etc., if you prefer java-version: '8'