Skip to content

Commit

Permalink
change java version
Browse files Browse the repository at this point in the history
  • Loading branch information
bilal-fazlani committed Jun 30, 2024
1 parent 51c2222 commit 579a3c8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
key: ${{ runner.os }}-scala
path: |
~/.ivy2/cache
~/.sbt
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'adopt'
- name: Compile and run tests
run: sbt ";clean ;+test"
- uses: actions/checkout@v4
- uses: coursier/cache-action@v6
name: Cache Coursier
- uses: coursier/setup-action@v1
name: Setup Coursier
with:
jvm: graalvm-community:21.0.2
apps: sbt
- name: Compile and run tests
run: sbt ";clean ;+test"
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: coursier/setup-action@v1
name: Setup Coursier
with:
jvm: adopt:21
jvm: graalvm-community:21.0.2
apps: sbt
- name: Publish ${{ github.ref }}
run: sbt ci-release
Expand Down

0 comments on commit 579a3c8

Please sign in to comment.