diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e9ed2f33a..49b834aa0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,14 +34,14 @@ jobs: maven-version: 3.9.3 - name: Set up JDK 11 (build only) if: ${{ !((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref_name == 'develop') }} - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 + uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 with: java-version: 11 distribution: 'temurin' cache: 'maven' - name: Set up JDK 11 (deploy) if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref_name == 'develop' - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 + uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 with: java-version: 11 distribution: 'temurin' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f3bdb080..b8b75b81b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: with: maven-version: 3.9.3 - name: Set up JDK 11 - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 + uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 with: java-version: 11 distribution: 'temurin'