Skip to content

Commit ec9a739

Browse files
committed
Update GitHub actions workflow for Java 21
1 parent 73dc2c3 commit ec9a739

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

.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,18 +15,21 @@ 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
- uses: sbt/setup-sbt@v1
3228

29+
- uses: actions/setup-python@v6
30+
with:
31+
python-version: '3.10'
32+
3333
- name: Install Dependencies
3434
run: |
3535
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)