Skip to content

Commit 2055bce

Browse files
committed
fix(ci): use a reliable JDK 8 download source
1 parent 2aa61fb commit 2055bce

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717
with:
1818
persist-credentials: false
19-
- uses: actions/setup-java@v4
19+
- uses: actions/setup-java@v5
2020
with:
2121
distribution: temurin
2222
java-version: '17'
@@ -38,9 +38,10 @@ jobs:
3838
- uses: actions/checkout@v4
3939
with:
4040
persist-credentials: false
41-
- uses: actions/setup-java@v4
41+
- uses: actions/setup-java@v5
4242
with:
43-
distribution: temurin
43+
# Avoid the repeatedly invalid Temurin 8 release-asset downloads.
44+
distribution: ${{ matrix.java == '8' && 'zulu' || 'temurin' }}
4445
java-version: ${{ matrix.java }}
4546
cache: maven
4647
- name: Build, test and install locally

‎docs/maintaining.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ make test
1515

1616
GitHub CI has six required-check names: `quality`, `check (Java 8)`, `check (Java 11)`, `check (Java 17)`, `check (Java 21)` and `check (Java 25)`. The [main ruleset payload](../.github/config/main-ruleset.json) must keep those names aligned with the workflow. Adding the JSON file does not activate GitHub protection.
1717

18+
CI uses Azul Zulu for Java 8 and Eclipse Temurin for Java 11/17/21/25. Java 8 uses Azul's download source after repeated non-gzip responses from the Temurin GitHub release-asset URL. Every runtime still runs the full SDK tests, independent consumer and package checks; installation failures fail the job.
19+
1820
The GitHub `quality` job also exercises the Central bundle profile with a temporary source copy and disposable signing key. It verifies reproducible artifact bytes and signatures without uploading a package or requiring publishing credentials.
1921

2022
CODEOWNERS assigns the same maintainer as the other SDK repositories. The prepared protection policy follows the Go baseline: a PR, resolved discussions, required checks, linear history, and no force pushes or branch deletion. It does not add a mandatory review count or mandatory CODEOWNER approval. Use the PR template to record cross-SDK impact, validation, skipped checks and candidate source evidence.

0 commit comments

Comments
 (0)