Skip to content

Commit

Permalink
Merge pull request #467 from xuwei-k/setup-scala
Browse files Browse the repository at this point in the history
use `setup-java` instead of deprecated `olafurpg/setup-scala`
  • Loading branch information
sjrd authored Dec 6, 2023
2 parents 4b726fc + 767ed16 commit 60ade39
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: coursier/cache-action@v5
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: "11"
distribution: "adopt"
Expand Down
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@v4
with:
java-version: "adopt@1.11"
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@v4
with:
java-version: "8"
distribution: "adopt"
- uses: olafurpg/setup-gpg@v3
- uses: coursier/cache-action@v5
- name: Publish
Expand Down

0 comments on commit 60ade39

Please sign in to comment.