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 11, 2023
1 parent 3d7106a commit 3469d3b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v10
- uses: actions/setup-java@v3
with:
java-version: "[email protected]"
java-version: "11"
distribution: "adopt"
- uses: coursier/cache-action@v5
- name: Build
run: sbt manual/makeSite
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:
with:
# fetches all tags, required to correctly set the version
fetch-depth: 0
- uses: olafurpg/setup-scala@v12
- uses: actions/setup-java@v3
with:
java-version: "8"
distribution: "adopt"
- uses: olafurpg/setup-gpg@v3
- uses: coursier/cache-action@v5
- name: Publish
Expand Down

0 comments on commit 3469d3b

Please sign in to comment.