File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
.github/actions/build-test/windows Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 99
99
name : Install Thrift
100
100
shell : pwsh
101
101
run : |
102
+ # Ideally we would download directly from Apache:
103
+ # https://www.apache.org/dyn/closer.lua/thrift/$1/thrift-$1.tar.gz?action=download
104
+ # But this has intermittent failures in GitHub Actions
102
105
Invoke-WebRequest `
103
- "https://www.apache .org/dyn/closer.lua/thrift/${{ inputs.THRIFT_VERSION }} /thrift- ${{ inputs.THRIFT_VERSION }}.tar.gz?action=download " `
106
+ "https://deb.debian .org/debian/pool/main/t /thrift/thrift_ ${{ inputs.THRIFT_VERSION }}.orig. tar.gz" `
104
107
-OutFile "thrift-${{ inputs.THRIFT_VERSION }}.tar.gz"
105
108
tar xzf thrift-${{ inputs.THRIFT_VERSION }}.tar.gz
106
109
rm thrift-${{ inputs.THRIFT_VERSION }}.tar.gz
Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ if [[ "$#" -ne 1 ]]; then
10
10
exit 1
11
11
fi
12
12
13
- curl --fail --silent --show-error --location " https://www.apache.org/dyn/closer.lua/thrift/$1 /thrift-$1 .tar.gz?action=download" | tar xzf -
13
+ # Ideally we would download directly from Apache:
14
+ # https://www.apache.org/dyn/closer.lua/thrift/$1/thrift-$1.tar.gz?action=download
15
+ # But this has intermittent failures in GitHub Actions
16
+ curl --fail --silent --show-error --location " https://deb.debian.org/debian/pool/main/t/thrift/thrift_$1 .orig.tar.gz" | tar xzf -
14
17
pushd thrift-$1 /build
15
18
cmake .. -DBUILD_COMPILER=OFF -DBUILD_TESTING=OFF -DBUILD_TUTORIALS=OFF -DBUILD_LIBRARIES=ON \
16
19
-DBUILD_CPP=ON -DBUILD_AS3=OFF -DBUILD_C_GLIB=OFF -DBUILD_JAVA=OFF -DBUILD_PYTHON=OFF \
You can’t perform that action at this time.
0 commit comments