Skip to content

Commit

Permalink
scalaVersion seems to be a predefined key. Try passing in to sbt scri…
Browse files Browse the repository at this point in the history
…pt but allow default
  • Loading branch information
jmalkin committed Jan 24, 2025
1 parent 7f6f1a6 commit 28de4b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ jobs:
uses: sbt/setup-sbt@v1

- name: Echo config versions
run: >
run: |
java -version
echo Scala version: $SCALA_VERSION
echo Spark version: $SPARK_VERSION
- name: Build and test
run: >
sbt --batch clean test
sbt ++$SCALA_VEERSION --batch clean test
# Architecture options: x86, x64, armv7, aarch64, ppc64le
# setup-java@v4 has a "with cache" option
Expand Down
1 change: 0 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ description := "The Apache DataSketches package for Spark"

licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))

val scalaVersion = settingKey[String]("The version of Scala")
scalaVersion := sys.env.getOrElse("SCALA_VERSION", DEFAULT_SCALA_VERSION)

val sparkVersion = settingKey[String]("The version of Spark")
Expand Down

0 comments on commit 28de4b1

Please sign in to comment.