diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eaae4676a..7f48dcf1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: uses: actions/setup-java@v2.1.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..136b56cec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: uses: actions/setup-java@v2.1.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.