Skip to content

Commit

Permalink
ci: use Temurin distributions (#476)
Browse files Browse the repository at this point in the history
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 <team@moderne.io>

---------

Co-authored-by: Moderne <team@moderne.io>
Co-authored-by: Brian Harrington <brharrington@gmail.com>
  • Loading branch information
3 people authored Mar 27, 2023
1 parent 06e357c commit 7dbfafa
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 7dbfafa

Please sign in to comment.