diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3bc5d7e4..ee5ced73 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@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 + uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e 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@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 + uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e with: java-version: 11 distribution: 'temurin' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eb7bbe23..bd83fa3d 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@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 + uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e with: java-version: 11 distribution: 'temurin'