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 20, 2024
1 parent a579d32 commit 59533e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: olafurpg/setup-scala@v14
- uses: actions/setup-java@v4
with:
java-version: 8
distribution: adopt
- uses: sbt/setup-sbt@v1
- name: Mount caches
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -47,9 +49,11 @@ jobs:

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

0 comments on commit 59533e2

Please sign in to comment.