You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ji...@apache.org on 2021/01/02 01:51:22 UTC
[incubator-sedona] branch master updated: Manually install sbt in CI
This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-sedona.git
The following commit(s) were added to refs/heads/master by this push:
new fcecc60 Manually install sbt in CI
fcecc60 is described below
commit fcecc60896d1187a87a58a58b8f4d72dd79f8838
Author: Jia Yu <ji...@apache.org>
AuthorDate: Fri Jan 1 17:51:11 2021 -0800
Manually install sbt in CI
---
.github/workflows/example.yml | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml
index c618157..b512614 100644
--- a/.github/workflows/example.yml
+++ b/.github/workflows/example.yml
@@ -14,7 +14,17 @@ jobs:
steps:
- uses: actions/checkout@v2
- - uses: olafurpg/setup-scala@v10
+ - uses: actions/setup-java@v1
+ with:
+ java-version: '8'
+ - run: sudo apt-get remove scala-library scala
+ - run: sudo wget www.scala-lang.org/files/archive/scala-2.12.11.deb
+ - run: sudo dpkg -i scala-2.12.11.deb
+ - run: scala -version
+ - run: echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
+ - run: sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
+ - run: sudo apt-get update
+ - run: sudo apt-get install sbt
- name: Cache SBT
uses: actions/cache@v2
with: