Skip to content

Commit

Permalink
Actions: Upgrade to Java 20 including the steps actions/checkout@v2 t…
Browse files Browse the repository at this point in the history
…o actions/checkout@v4, and actions/setup-java@v2 to actions/setup-java@v4
  • Loading branch information
KiyonoKara committed Jan 13, 2024
1 parent 54ffbcf commit a5aa59f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
- uses: actions/checkout@v4
- name: Set up JDK 20
uses: actions/setup-java@v4
with:
java-version: '11'
java-version: '20'
distribution: 'adopt'
- name: Run tests
run: sbt test
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
- uses: actions/checkout@v4
- name: Set up JDK 20
uses: actions/setup-java@v4
with:
java-version: '11'
java-version: '20'
distribution: 'adopt'
- name: Publish package
run: sbt test publish
Expand Down

0 comments on commit a5aa59f

Please sign in to comment.