Skip to content

Commit c80d4fe

Browse files
committed
Update GitHub actions workflow for Java 21
1 parent 5a021a9 commit c80d4fe

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
pull_request:
66
workflow_dispatch:
77

8-
env:
9-
LIBERICA_URL: https://download.bell-sw.com/java/17.0.3+7/bellsoft-jdk17.0.3+7-linux-amd64-full.tar.gz
10-
118
jobs:
129
build-and-test:
1310
runs-on: ubuntu-latest
@@ -18,15 +15,14 @@ jobs:
1815
with:
1916
access_token: ${{ github.token }}
2017

21-
- uses: actions/checkout@v2
22-
23-
- uses: olafurpg/setup-scala@v10
24-
with:
25-
java-version: liberica@17=tgz+${{ env.LIBERICA_URL }}
18+
- uses: actions/checkout@v5
2619

27-
- uses: actions/setup-python@v2
20+
- uses: actions/setup-java@v5
2821
with:
29-
python-version: '3.9'
22+
distribution: zulu
23+
java-version: 21.0.2
24+
java-package: jdk+fx
25+
cache: sbt
3026

3127
- name: Install R for sr extension
3228
uses: r-lib/actions/setup-r@v2
@@ -42,6 +38,10 @@ jobs:
4238

4339
- uses: sbt/setup-sbt@v1
4440

41+
- uses: actions/setup-python@v6
42+
with:
43+
python-version: '3.10'
44+
4545
- name: Install Dependencies
4646
run: |
4747
pip install numpy

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.9.1
1+
sbt.version=1.10.1

0 commit comments

Comments
 (0)