Skip to content

Commit 164ddf3

Browse files
committed
Added step to install SBT in ci.yml.
1 parent 6d09e93 commit 164ddf3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,15 @@ jobs:
1313
with:
1414
distribution: temurin
1515
java-version: 8
16+
- name: Setup SBT
17+
run: |
18+
sudo apt update
19+
sudo apt install apt-transport-https curl gnupg -yqq
20+
echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list
21+
echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list
22+
curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo -H gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/scalasbt-release.gpg --import
23+
sudo chmod 644 /etc/apt/trusted.gpg.d/scalasbt-release.gpg
24+
sudo apt update
25+
sudo apt install sbt
1626
- name: Build and Test
1727
run: sbt -v +test

0 commit comments

Comments
 (0)