From c926c6fba61161adb896b6516a9456707bb7a1f2 Mon Sep 17 00:00:00 2001 From: Wesley Nelson Date: Wed, 11 Nov 2026 13:54:25 -0800 Subject: [PATCH] ci: download Maven from the Apache archive dlcdn.apache.org serves only current releases and now answers 404 for Maven 3.9.12. curl -sL saved that error page as maven.tar.gz, so the step failed at the checksum instead of at the download. archive.apache.org keeps every release, and its 3.9.12 tarball matches the pinned SHA-512. curl now takes -f and -S, so an HTTP error fails the download and is printed. --- .github/workflows/ci.yml | 2 +- .github/workflows/release-perform.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f15929..458c904 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: cache: 'maven' - name: Install maven run: | - curl -sL https://dlcdn.apache.org/maven/maven-3/3.9.12/binaries/apache-maven-3.9.12-bin.tar.gz -o maven.tar.gz + curl -fsSL https://archive.apache.org/dist/maven/maven-3/3.9.12/binaries/apache-maven-3.9.12-bin.tar.gz -o maven.tar.gz echo "0a1be79f02466533fc1a80abbef8796e4f737c46c6574ede5658b110899942a94db634477dfd3745501c80aef9aac0d4f841d38574373f7e2d24cce89d694f70 maven.tar.gz" | sha512sum -c - tar xvf maven.tar.gz rm maven.tar.gz diff --git a/.github/workflows/release-perform.yml b/.github/workflows/release-perform.yml index 552c0a7..879d702 100644 --- a/.github/workflows/release-perform.yml +++ b/.github/workflows/release-perform.yml @@ -107,7 +107,7 @@ jobs: - name: Install maven (with container) if: matrix.config.container run: | - curl -sL https://dlcdn.apache.org/maven/maven-3/3.9.12/binaries/apache-maven-3.9.12-bin.tar.gz -o maven.tar.gz + curl -fsSL https://archive.apache.org/dist/maven/maven-3/3.9.12/binaries/apache-maven-3.9.12-bin.tar.gz -o maven.tar.gz echo "0a1be79f02466533fc1a80abbef8796e4f737c46c6574ede5658b110899942a94db634477dfd3745501c80aef9aac0d4f841d38574373f7e2d24cce89d694f70 maven.tar.gz" | sha512sum -c - tar xvf maven.tar.gz rm maven.tar.gz