Skip to content

Commit 7dddd1a

Browse files
authored
Switch from actions/setup-java@v4 to coursier/setup-action@v1, see actions/setup-java#627
1 parent 536741d commit 7dddd1a

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,20 @@ jobs:
2929
- name: Configure git
3030
run: "git config --global core.autocrlf false"
3131
shell: bash
32-
- uses: actions/checkout@v4
32+
- name: Checkout sources
33+
uses: actions/checkout@v4
3334
with:
3435
fetch-depth: 300
3536
- name: Fetch tags
3637
run: git fetch --depth=300 origin +refs/tags/*:refs/tags/*
37-
- uses: coursier/cache-action@v6
38-
- uses: actions/setup-java@v4
38+
- name: Cache SBT deps
39+
uses: coursier/cache-action@v6
40+
- name: Setup Scala with SBT
41+
uses: coursier/setup-action@v1
3942
with:
40-
distribution: "adopt"
41-
java-version: ${{ matrix.java }}
42-
- uses: actions/setup-node@v4
43+
apps: sbt
44+
- name: Setup Node.js
45+
uses: actions/setup-node@v4
4346
with:
4447
node-version: 16
4548
- name: Test and Check Binary Compatibility

0 commit comments

Comments
 (0)