Skip to content

Commit

Permalink
use setup-java
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored Nov 14, 2022
1 parent 2794e5b commit 5350811
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ jobs:
name: test_all
runs-on: ${{ matrix.os }}
steps:
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v3
with:
java-version: "adopt@1.${{ matrix.java }}"
java-version: ${{ matrix.java }}
distribution: adopt
- uses: actions/checkout@v3
- uses: coursier/cache-action@v6
- shell: bash
Expand Down Expand Up @@ -57,9 +58,10 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v3
with:
java-version: "[email protected]"
java-version: 8
distribution: adopt
- uses: actions/checkout@v3
with:
fetch-depth: 10
Expand Down

0 comments on commit 5350811

Please sign in to comment.