@@ -577,7 +577,7 @@ jobs:
577577 # needing a newer grammar cannot pass a lint pinned to an older mcpp.
578578 - name : Download pinned mcpp
579579 run : |
580- curl -L -fsS -o mcpp.tar.gz \
580+ curl -L -fsS --retry 5 --retry-all-errors --retry-delay 10 - o mcpp.tar.gz \
581581 "https://github.com/mcpp-community/mcpp/releases/download/v${MCPP_VERSION}/mcpp-${MCPP_VERSION}-linux-x86_64.tar.gz"
582582 tar -xzf mcpp.tar.gz
583583 echo "MCPP=$PWD/mcpp-${MCPP_VERSION}-linux-x86_64/bin/mcpp" >> "$GITHUB_ENV"
@@ -1210,7 +1210,7 @@ jobs:
12101210 MCPP_ARCHIVE : mcpp-${{ env.MCPP_VERSION }}-linux-x86_64.tar.gz
12111211 MCPP_ROOT : mcpp-${{ env.MCPP_VERSION }}-linux-x86_64
12121212 run : |
1213- curl -L -fsS -o "$MCPP_ARCHIVE" \
1213+ curl -L -fsS --retry 5 --retry-all-errors --retry-delay 10 - o "$MCPP_ARCHIVE" \
12141214 "https://github.com/mcpp-community/mcpp/releases/download/v${MCPP_VERSION}/${MCPP_ARCHIVE}"
12151215 tar -xzf "$MCPP_ARCHIVE"
12161216 root="$PWD/$MCPP_ROOT"
@@ -1257,7 +1257,7 @@ jobs:
12571257 shell : bash
12581258 run : |
12591259 archive="mcpp-${MCPP_VERSION}-${{ matrix.suffix }}.tar.gz"
1260- curl -L -fsS -o "$archive" "https://github.com/mcpp-community/mcpp/releases/download/v${MCPP_VERSION}/$archive"
1260+ curl -L -fsS --retry 5 --retry-all-errors --retry-delay 10 - o "$archive" "https://github.com/mcpp-community/mcpp/releases/download/v${MCPP_VERSION}/$archive"
12611261 tar -xzf "$archive"
12621262 echo "MCPP=$PWD/mcpp-${MCPP_VERSION}-${{ matrix.suffix }}/bin/mcpp" >> "$GITHUB_ENV"
12631263 - name : Immutable archive, default scaffold, strict build and loopback RPC
@@ -1380,7 +1380,7 @@ jobs:
13801380 MCPP_ARCHIVE : mcpp-${{ env.MCPP_VERSION }}-${{ matrix.suffix }}.${{ matrix.ext }}
13811381 MCPP_ROOT : mcpp-${{ env.MCPP_VERSION }}-${{ matrix.suffix }}
13821382 run : |
1383- curl -L -fsS -o "$MCPP_ARCHIVE" \
1383+ curl -L -fsS --retry 5 --retry-all-errors --retry-delay 10 - o "$MCPP_ARCHIVE" \
13841384 "https://github.com/mcpp-community/mcpp/releases/download/v${MCPP_VERSION}/${MCPP_ARCHIVE}"
13851385 case "$MCPP_ARCHIVE" in
13861386 *.zip) powershell -NoProfile -Command "Expand-Archive -Force -Path '${MCPP_ARCHIVE}' -DestinationPath '.'" ;;
0 commit comments