From 1a519ce9bb2858ae0db301f94cee8c2e182ff395 Mon Sep 17 00:00:00 2001 From: loong10k <20489781+loong10k@users.noreply.github.com> Date: Wed, 18 Nov 2026 02:56:53 +0800 Subject: [PATCH] fix(ci): build 1.x upstream sources on JDK 8 --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e5188e..ab2cf55 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,11 +35,11 @@ jobs: - name: Test report provenance helper run: python3 .github/scripts/test_run_verify.py - - name: Set up JDK 17 + - name: Set up JDK 8 for pinned upstream sources uses: actions/setup-java@v5 with: distribution: temurin - java-version: '17' + java-version: '8' cache: maven - name: Build pinned public Easy4J snapshot sources @@ -61,6 +61,12 @@ jobs: spring-security-extension 1c58ecfbbf02b5c61efbe66b7336e29f43bac4ce SOURCES + - name: Set up JDK 17 for this project + uses: actions/setup-java@v5 + with: + distribution: temurin + java-version: '17' + - name: Build and verify with JaCoCo coverage gate id: project_verify run: python3 .github/scripts/run_verify.py