Skip to content

Commit

Permalink
use setup-java instead of deprecated olafurpg/setup-scala
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Oct 9, 2023
1 parent f8c6372 commit 513df05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Setup
uses: olafurpg/setup-scala@v10
uses: actions/setup-java@v3
with:
java-version: "adopt@1.${{ matrix.java }}"
java-version: "${{ matrix.java }}"
distribution: adopt
- name: Coursier cache
uses: coursier/cache-action@v6
- name: Build and test
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Setup
uses: olafurpg/setup-scala@v10
uses: actions/setup-java@v3
with:
java-version: "adopt@1.8"
java-version: "8"
distribution: adopt
- name: Coursier cache
uses: coursier/cache-action@v5
- name: Test
Expand Down

0 comments on commit 513df05

Please sign in to comment.