From 9ddc859428b9483a1c95b146537d4ea91d91cfa3 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Thu, 28 Sep 2023 13:22:25 +0100 Subject: [PATCH] Try java 21 again --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a4bcec4d5e..b8b754fa71 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,10 +4,10 @@ jobs: build: strategy: matrix: - java: [17-jdk, 20-jdk] + java: [17-ubuntu, 21-ubuntu] runs-on: ubuntu-22.04 container: - image: eclipse-temurin:${{ matrix.java }} + image: mcr.microsoft.com/openjdk/jdk:${{ matrix.java }} options: --user root steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e88ea7ca85..2b660a130b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ jobs: build: runs-on: ubuntu-22.04 container: - image: eclipse-temurin:20-jdk + image: mcr.microsoft.com/openjdk/jdk:21-ubuntu options: --user root steps: - run: apt update && apt install git -y && git --version