Skip to content

Commit c3282d8

Browse files
committed
specify version of java
1 parent 0e22f0a commit c3282d8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
steps:
2121
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2222
- uses: actions/checkout@v2
23+
# Specify the version of Java that is installed
24+
- uses: actions/setup-java@v1
25+
with:
26+
java-version: '8'
2327
# Run the build script
2428
- name: Install dependencies, set environment variables, and build the package
2529
run: ./.github/scripts/build.sh
@@ -31,7 +35,10 @@ jobs:
3135
needs: build
3236
steps:
3337
- uses: actions/checkout@v2
34-
# Run tests
38+
- uses: actions/setup-java@v1
39+
with:
40+
java-version: '8'
41+
# Run sbt tests
3542
- name: Run tests
3643
run: ./build/sbt test
37-
shell: bash
44+

0 commit comments

Comments
 (0)