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