Skip to content

Commit 87d459c

Browse files
committed
install scala the old way
1 parent 8abc371 commit 87d459c

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/sbt_test.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,19 @@ jobs:
5050
- name: Set up sbt
5151
uses: sbt/setup-sbt@v1
5252

53-
- name: Set up Scala (via Coursier)
54-
uses: coursier/setup-action@v2
55-
with:
56-
apps: scala:3.6.2
53+
# - name: Set up Scala (via Coursier)
54+
# uses: coursier/setup-action@v2
55+
# with:
56+
# apps: scala:3.6.2
57+
58+
- name: Set up Scala
59+
run: |
60+
if [[ "${{ matrix.config.os }}" =~ ^macos.*$ ]]; then
61+
brew install scala
62+
else
63+
sudo apt-get update
64+
sudo apt-get install -y scala
65+
fi
5766
5867
- name: Warm up scala
5968
run: |

0 commit comments

Comments
 (0)