Skip to content

Commit 5b11d0d

Browse files
authored
Update apache.org download links to use closer.lua (#1315)
[We have seen instability downloading from `archive.apache.org`](https://github.com/hazelcast/client-compatibility-suites/actions/runs/15973338298/job/45050422979). Update links to use `closer.lua` instead, as mentioned in [Apache's documentation](https://infra.apache.org/release-download-pages.html).
1 parent e2d0428 commit 5b11d0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/build-test/windows/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ runs:
100100
shell: pwsh
101101
run: |
102102
Invoke-WebRequest `
103-
"https://archive.apache.org/dist/thrift/${{ inputs.THRIFT_VERSION }}/thrift-${{ inputs.THRIFT_VERSION }}.tar.gz" `
103+
"https://www.apache.org/dyn/closer.lua/thrift/${{ inputs.THRIFT_VERSION }}/thrift-${{ inputs.THRIFT_VERSION }}.tar.gz?action=download" `
104104
-OutFile "thrift-${{ inputs.THRIFT_VERSION }}.tar.gz"
105105
tar xzf thrift-${{ inputs.THRIFT_VERSION }}.tar.gz
106106
rm thrift-${{ inputs.THRIFT_VERSION }}.tar.gz

scripts/install-thrift.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if [[ "$#" -ne 1 ]]; then
1010
exit 1
1111
fi
1212

13-
curl --fail --silent --show-error --location https://archive.apache.org/dist/thrift/$1/thrift-$1.tar.gz | tar xzf -
13+
curl --fail --silent --show-error --location "https://www.apache.org/dyn/closer.lua/thrift/$1/thrift-$1.tar.gz?action=download" | tar xzf -
1414
pushd thrift-$1/build
1515
cmake .. -DBUILD_COMPILER=OFF -DBUILD_TESTING=OFF -DBUILD_TUTORIALS=OFF -DBUILD_LIBRARIES=ON \
1616
-DBUILD_CPP=ON -DBUILD_AS3=OFF -DBUILD_C_GLIB=OFF -DBUILD_JAVA=OFF -DBUILD_PYTHON=OFF \

0 commit comments

Comments
 (0)