Skip to content

Commit

Permalink
Use Java 17 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Jan 5, 2022
1 parent 51a4e26 commit 2f3a216
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.3
- uses: coursier/setup-action@v1.1.2
- uses: coursier/setup-action@v1.2.0-M1
with:
jvm: 11
jvm: "temurin:17"
- name: Copy launcher
run: ./mill -i copyJvmLauncher artifacts/
if: runner.os == 'Linux'
Expand Down Expand Up @@ -59,9 +59,9 @@ jobs:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.3
- uses: coursier/setup-action@v1.1.2
- uses: coursier/setup-action@v1.2.0-M1
with:
jvm: 11
jvm: "temurin:17"
- name: Generate native launcher
run: ./mill -i show defaultNativeImage
- name: Build OS packages
Expand Down Expand Up @@ -89,9 +89,9 @@ jobs:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.3
- uses: coursier/setup-action@v1.1.2
- uses: coursier/setup-action@v1.2.0-M1
with:
jvm: 11
jvm: "temurin:17"
- name: Generate native launcher
run: ./mill -i show cli.nativeImageMostlyStatic
- name: Copy artifacts
Expand Down Expand Up @@ -127,9 +127,9 @@ jobs:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.3
- uses: coursier/setup-action@v1.1.2
- uses: coursier/setup-action@v1.2.0-M1
with:
jvm: 11
jvm: "temurin:17"
- name: Generate native launcher
run: ./mill -i show cli.nativeImageStatic
- name: Copy artifacts
Expand Down Expand Up @@ -165,9 +165,9 @@ jobs:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.3
- uses: coursier/setup-action@v1.1.2
- uses: coursier/setup-action@v1.2.0-M1
with:
jvm: 11
jvm: "temurin:17"
- name: Test documentation
run: .github/scripts/check_docs.sh
- name: Test gifs
Expand All @@ -182,9 +182,9 @@ jobs:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.3
- uses: coursier/setup-action@v1.1.2
- uses: coursier/setup-action@v1.2.0-M1
with:
jvm: 11
jvm: "temurin:17"
- name: Check native-image config format
run: ./mill -i __.checkNativeImageConfFormat
- name: Check Ammonite availability
Expand All @@ -206,9 +206,9 @@ jobs:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.3
- uses: coursier/setup-action@v1.1.2
- uses: coursier/setup-action@v1.2.0-M1
with:
jvm: 11
jvm: "temurin:17"
apps: scalafmt:3.0.0
- run: scalafmt --check

Expand All @@ -221,9 +221,9 @@ jobs:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.3
- uses: coursier/setup-action@v1.1.2
- uses: coursier/setup-action@v1.2.0-M1
with:
jvm: 11
jvm: "temurin:17"
- name: Check that reference doc is up-to-date
run: |
./mill -i generate-reference-doc.run --check || (
Expand All @@ -243,9 +243,9 @@ jobs:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.3
- uses: coursier/setup-action@v1.1.2
- uses: coursier/setup-action@v1.2.0-M1
with:
jvm: 11
jvm: "temurin:17"
- run: ./mill -i ci.copyVcRedist
- uses: actions/upload-artifact@v2.3.1
with:
Expand All @@ -264,9 +264,9 @@ jobs:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.3
- uses: coursier/setup-action@v1.1.2
- uses: coursier/setup-action@v1.2.0-M1
with:
jvm: 11
jvm: "temurin:17"
- name: GPG setup
run: .github/scripts/gpg-setup.sh
env:
Expand Down Expand Up @@ -298,9 +298,9 @@ jobs:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.3
- uses: coursier/setup-action@v1.1.2
- uses: coursier/setup-action@v1.2.0-M1
with:
jvm: 11
jvm: "temurin:17"
- run: ./mill -i ci.setShouldPublish
- uses: actions/download-artifact@v2
if: env.SHOULD_PUBLISH == 'true'
Expand All @@ -323,9 +323,9 @@ jobs:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.3
- uses: coursier/setup-action@v1.1.2
- uses: coursier/setup-action@v1.2.0-M1
with:
jvm: 11
jvm: "temurin:17"
- uses: actions/download-artifact@v2
with:
name: launchers
Expand Down

0 comments on commit 2f3a216

Please sign in to comment.