From 927573d20a5ed9473ba3cf6ee4f3858b8d28f4f5 Mon Sep 17 00:00:00 2001 From: Frederick Roth Date: Wed, 23 Oct 2024 19:19:06 +0200 Subject: [PATCH] Update graalvm to fix build --- .github/workflows/ci.yml | 12 ++++++------ build.sbt | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4af595d..c222666 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest] scala: [2.12] - java: [temurin@11, temurin@17, graalvm@17] + java: [temurin@11, temurin@17, graalvm@21] runs-on: ${{ matrix.os }} timeout-minutes: 60 steps: @@ -66,17 +66,17 @@ jobs: if: matrix.java == 'temurin@17' && steps.setup-java-temurin-17.outputs.cache-hit == 'false' run: sbt +update - - name: Setup Java (graalvm@17) - id: setup-java-graalvm-17 - if: matrix.java == 'graalvm@17' + - name: Setup Java (graalvm@21) + id: setup-java-graalvm-21 + if: matrix.java == 'graalvm@21' uses: actions/setup-java@v4 with: distribution: graalvm - java-version: 17 + java-version: 21 cache: sbt - name: sbt update - if: matrix.java == 'graalvm@17' && steps.setup-java-graalvm-17.outputs.cache-hit == 'false' + if: matrix.java == 'graalvm@21' && steps.setup-java-graalvm-21.outputs.cache-hit == 'false' run: sbt +update - name: Check that workflows are up to date diff --git a/build.sbt b/build.sbt index 65411ca..6b20a50 100644 --- a/build.sbt +++ b/build.sbt @@ -25,7 +25,7 @@ ThisBuild / githubWorkflowOSes := Seq(PrimaryOS, MacOS) ThisBuild / githubWorkflowJavaVersions := Seq( JavaSpec.temurin("11"), JavaSpec.temurin("17"), - JavaSpec.graalvm("17") + JavaSpec.graalvm("21") ) ThisBuild / githubWorkflowPublishTargetBranches := Seq.empty