From 465bfcf802fe8103b05aef50cb23224ecde238b7 Mon Sep 17 00:00:00 2001 From: Aaron Ai Date: Mon, 10 Apr 2023 12:54:40 +0800 Subject: [PATCH] Upgrade the image to the latest version (#6562) --- .asf.yaml | 3 +++ .github/workflows/maven.yaml | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index a7c24f68d2f..b1872d166bd 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -42,6 +42,9 @@ github: contexts: - misspell-check - check-license + - maven-compile (ubuntu-latest, JDK-8) + - maven-compile (windows-latest, JDK-8) + - maven-compile (macos-latest, JDK-8) notifications: commits: commits@rocketmq.apache.org issues: commits@rocketmq.apache.org diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml index 0d3b5e231de..75bf91eb18f 100644 --- a/.github/workflows/maven.yaml +++ b/.github/workflows/maven.yaml @@ -7,11 +7,12 @@ on: jobs: java_build: name: "maven-compile (${{ matrix.os }}, JDK-${{ matrix.jdk }})" - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - os: [ubuntu-18.04, windows-2022, macos-11] + # see https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources + os: [ubuntu-latest, windows-latest, macos-latest] jdk: [8] steps: - name: Checkout