Skip to content

Commit

Permalink
Continue testing on JDK1.8 for legacy DV on Spark 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
colindean committed Apr 10, 2024
1 parent a1b6588 commit 7664368
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@ jobs:
- uses: coursier/cache-action@v6
with:
extraKey: ${{ runner.os }}
- uses: coursier/setup-action@v1
with:
jvm: adopt:1.8
- name: Build, test, and package project on "legacy" Spark
run: bin/sbt clean compile test package makePom
- uses: coursier/setup-action@v1
with:
jvm: adoptium:1.17
- name: Build, test, and package project on Spark 3.5
run: bin/sbt clean compile test package makePom -DsparkVersion=3.5.1
env:
MODERN_JAVA: true
- name: Build and package project on "legacy" Spark
run: bin/sbt clean compile package makePom
env:
MODERN_JAVA: true
11 changes: 6 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ jobs:
extraKey: ${{ runner.os }}
- uses: coursier/setup-action@v1
with:
jvm: adoptium:1.17
jvm: adopt:1.8
# uses sbt-github-packages, see build.sbt
- name: Publish with SBT
- name: Publish for Spark 2 with SBT
run: bin/sbt publish
env:
MODERN_JAVA: true
- name: Publish with SBT
- uses: coursier/setup-action@v1
with:
jvm: adoptium:1.17
- name: Publish for Spark 3 with SBT
run: bin/sbt publish -DsparkVersion=3.5.1
env:
MODERN_JAVA: true

0 comments on commit 7664368

Please sign in to comment.