Skip to content

Commit 7d5e66c

Browse files
committed
Java 17 update .github/workflows/main.yml
1 parent 77404b1 commit 7d5e66c

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: build-and-test
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
7+
env:
8+
LIBERICA_URL: https://download.bell-sw.com/java/17.0.3+7/bellsoft-jdk17.0.3+7-linux-amd64-full.tar.gz
9+
10+
jobs:
11+
build-and-test:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: olafurpg/setup-scala@v10
16+
with:
17+
java-version: liberica@17=tgz+${{ env.LIBERICA_URL }}
18+
- run: sbt -v update compile
19+
- run: sbt -v test

0 commit comments

Comments
 (0)