Skip to content

Commit d07ae67

Browse files
committed
More workflow updates
1 parent 1abd38f commit d07ae67

File tree

1 file changed

+4
-24
lines changed

1 file changed

+4
-24
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -30,33 +30,13 @@ jobs:
3030
with:
3131
fetch-depth: 0
3232

33-
- name: Download Java (temurin@11)
34-
id: download-java-temurin-11
35-
if: matrix.java == 'temurin@11'
36-
uses: typelevel/download-java@v1
37-
with:
38-
distribution: temurin
39-
java-version: 11
40-
4133
- name: Setup Java (temurin@11)
4234
if: matrix.java == 'temurin@11'
43-
uses: actions/setup-java@v2
44-
with:
45-
distribution: jdkfile
46-
java-version: 11
47-
jdkFile: ${{ steps.download-java-temurin-11.outputs.jdkFile }}
48-
49-
- name: Cache sbt
50-
uses: actions/cache@v4
35+
uses: actions/setup-java@v4
5136
with:
52-
path: |
53-
~/.sbt
54-
~/.ivy2/cache
55-
~/.coursier/cache/v1
56-
~/.cache/coursier/v1
57-
~/AppData/Local/Coursier/Cache/v1
58-
~/Library/Caches/Coursier/v1
59-
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
37+
distribution: 'temurin'
38+
java-version: '21'
39+
cache: 'sbt'
6040

6141
- name: Generate site
6242
run: sbt '++${{ matrix.scala }}' build

0 commit comments

Comments
 (0)