From 169e861ead5fcfd9e350721743654a243d358722 Mon Sep 17 00:00:00 2001 From: Jerry Lee Date: Thu, 8 Feb 2024 02:38:14 +0800 Subject: [PATCH] build/ci: simplify `strong_ci.yaml` --- .github/workflows/strong_ci.yaml | 33 ++++++++++---------------------- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/.github/workflows/strong_ci.yaml b/.github/workflows/strong_ci.yaml index 9d42523..0bbf9a1 100644 --- a/.github/workflows/strong_ci.yaml +++ b/.github/workflows/strong_ci.yaml @@ -15,33 +15,20 @@ jobs: with: submodules: recursive - - name: Setup Java 8 + - name: Setup Java uses: actions/setup-java@v4 with: - java-version: 8 + # https://github.com/actions/setup-java?tab=readme-ov-file#install-multiple-jdks + # + # do NOT move old version 8.0.345 before 8, because the old version satified version 8 + java-version: | + 8 + 8.0.345 + 11 + 17 + 20 distribution: zulu - # only first java setup need enable cache cache: maven - - name: Setup Java 8.0.345 - uses: actions/setup-java@v4 - with: - java-version: 8.0.345 - distribution: zulu - - name: Setup Java 11 - uses: actions/setup-java@v4 - with: - java-version: 11 - distribution: microsoft - - name: Setup Java 17 - uses: actions/setup-java@v4 - with: - java-version: 17 - distribution: microsoft - - name: Setup Java 20 - uses: actions/setup-java@v4 - with: - java-version: 20 - distribution: zulu - name: Run integration test run: scripts/integration_test