diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eaae4676a..01194e273 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,10 +15,10 @@ jobs: uses: actions/checkout@v2 - name: Set up JDK 8 - uses: actions/setup-java@v2.1.0 + uses: actions/setup-java@v2.2.0 with: java-version: 8 - distribution: 'adopt' + distribution: 'temurin' - name: Cache local Maven repository uses: actions/cache@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2bbb23918..943d31179 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,10 +28,10 @@ jobs: git config user.name 'github-actions[bot]' - name: Setup Java - uses: actions/setup-java@v2.1.0 + uses: actions/setup-java@v2.2.0 with: java-version: 8 - distribution: 'adopt' + distribution: 'temurin' # If this run stores a new cache then the next run will not be able to use it because this is a tag checkout :-( # But a cache already created on the default branch (by the CI workflow) will be loaded here.