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 19, 2023
1 parent f6f985e commit 4117eed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ jobs:

steps:
- uses: actions/checkout@v1
- uses: olafurpg/setup-scala@v10
- uses: actions/setup-java@v3
with:
java-version: 8
distribution: temurin
- name: Mount caches
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -51,9 +52,10 @@ jobs:

steps:
- uses: actions/checkout@v1
- uses: olafurpg/setup-scala@v10
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
- name: Mount caches
uses: actions/cache@v2
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:
~/.ivy2/cache
~/.cache/coursier
key: ${{ runner.os }}-sbt-docs-${{ hashFiles('**/*.sbt') }}
- uses: actions/setup-java@v1
- uses: actions/setup-java@v3
with:
java-version: 8
distribution: adopt
- name: Publish ${{ github.ref }}
run: sbt ci-release
env:
Expand Down

0 comments on commit 4117eed

Please sign in to comment.