Skip to content

Commit

Permalink
ci: use Temurin distributions
Browse files Browse the repository at this point in the history
Host runners include Temurin by default as part of the (hosted tool cache)(https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#hosted-tool-cache).Using Temurin speeds up builds as there is no need to download and configure the Java SDK with every build.

Co-authored-by: Moderne <team@moderne.io>
  • Loading branch information
yeikel and TeamModerne committed Mar 22, 2023
1 parent 98d4bcc commit 5a88b69
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshot.yml
Expand Up @@ -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:
Expand Down

0 comments on commit 5a88b69

Please sign in to comment.