Skip to content

Commit 7a75c12

Browse files
committed
install sbt
1 parent ff8d747 commit 7a75c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/scala.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
distribution: 'oracle'
2929
cache: 'sbt'
3030
- name: Install sbt
31-
run: sudo apt-get update && sudo apt-get install -y sbt
31+
run: sudo apt-get update && sudo apt-get install -y apt-transport-https curl gnupg -yqq && echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list && echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list && 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 && sudo chmod 644 /etc/apt/trusted.gpg.d/scalasbt-release.gpg && sudo apt-get update && sudo apt-get install sbt
3232
- name: Run tests
3333
run: sbt test
3434
# Optional: This step uploads information to the GitHub dependency graph and unblocking Dependabot alerts for the repository

0 commit comments

Comments
 (0)