Skip to content

Commit

Permalink
Update actions/setup-java (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored Oct 20, 2023
1 parent 0c79b26 commit c07f40b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: 1.8
java-version: 8
distribution: temurin

- name: Mount caches
uses: actions/cache@v2
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: 12
distribution: temurin
- uses: olafurpg/setup-gpg@v3
if: startsWith(github.ref, 'refs/tags/v')
- name: Publish ${{ github.ref }}
Expand Down

0 comments on commit c07f40b

Please sign in to comment.