From 7dbfafa3b21189e9dd55d6ed2ccbbf256c4f18d3 Mon Sep 17 00:00:00 2001 From: Yeikel Date: Mon, 27 Mar 2023 11:54:14 -0400 Subject: [PATCH] ci: use Temurin distributions (#476) Host runners include Temurin by default as part of the [hosted tool cache]. Using Temurin speeds up builds as there is no need to download and configure the Java SDK with every build. [hosted tool cache]: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#hosted-tool-cache Co-authored-by: Moderne --------- Co-authored-by: Moderne Co-authored-by: Brian Harrington --- .github/workflows/pr.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/snapshot.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 45ad067a..f9b047f2 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -16,7 +16,7 @@ jobs: uses: actions/setup-java@v3 with: java-version: ${{ matrix.java }} - distribution: 'zulu' + distribution: 'temurin' - uses: actions/cache@v2 id: gradle-cache with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 242fe36b..aa5420bb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: uses: actions/setup-java@v3 with: java-version: 8 - distribution: 'zulu' + distribution: 'temurin' - uses: actions/cache@v2 id: gradle-cache with: diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index e6015e73..d01d0cb0 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -16,7 +16,7 @@ jobs: uses: actions/setup-java@v3 with: java-version: 8 - distribution: 'zulu' + distribution: 'temurin' - uses: actions/cache@v2 id: gradle-cache with: