File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 1414 with :
1515 distribution : temurin
1616 java-version : 11
17+ - name : Setup SBT
18+ run : |
19+ # Make sure ca-certificates and gnupg are installed (often required for adding new repos)
20+ sudo apt-get update
21+ sudo apt-get install -y ca-certificates gnupg
22+
23+ # Add the sbt repositories to apt sources
24+ echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list
25+ echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list
26+
27+ # Import the Scala SBT public key
28+ curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" \
29+ | sudo apt-key add -
30+
31+ # Now update and install
32+ sudo apt-get update
33+ sudo apt-get install -y sbt
1734 - env :
1835 PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
1936 PGP_SECRET : ${{ secrets.PGP_SECRET }}
You can’t perform that action at this time.
0 commit comments