diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6d6d1db..23435bd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,14 +35,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@cd89f46ac9d01407894225f350157564c9c7cee2 + uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 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@cd89f46ac9d01407894225f350157564c9c7cee2 + uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 with: java-version: 11 distribution: 'temurin' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 81e99e7..345ae34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: with: maven-version: 3.9.3 - name: Set up JDK 11 - uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 + uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 with: java-version: 11 distribution: 'temurin'