diff --git a/.github/actions/download-engine/action.yml b/.github/actions/download-engine/action.yml index 0a36957c55..19425360d7 100644 --- a/.github/actions/download-engine/action.yml +++ b/.github/actions/download-engine/action.yml @@ -66,7 +66,7 @@ runs: cat $TEMPDIR/target.json | jq -er '[.assets[] | select(.name | contains("'$TARGET'") and endswith(".7z.txt"))][0]' > $TEMPDIR/assets_txt.json LIST_URL=$(cat $TEMPDIR/assets_txt.json | jq -er '.browser_download_url') echo "7z.txt url: $LIST_URL" - echo $LIST_URL | xargs curl -sSL > $TEMPDIR/download_name.txt + echo $LIST_URL | xargs curl -sSL --retry 3 --retry-delay 5 --retry-all-errors > $TEMPDIR/download_name.txt echo "Files to download:" cat $TEMPDIR/download_name.txt | sed -e 's|^|- |' @@ -74,7 +74,7 @@ runs: for i in $(cat $TEMPDIR/download_name.txt); do URL=$(cat $TEMPDIR/target.json | jq -er "[.assets[] | select(.name == \"$i\")][0].browser_download_url") echo "Download url: $URL, dest: $TEMPDIR/$i" - curl -sSL $URL -o $TEMPDIR/$i & + curl -sSL $URL --retry 3 --retry-delay 5 --retry-all-errors -o $TEMPDIR/$i & done for job in `jobs -p`; do wait $job diff --git a/build/codesign_setup.bash b/build/codesign_setup.bash index 8ad1e06144..5aa4789aaf 100644 --- a/build/codesign_setup.bash +++ b/build/codesign_setup.bash @@ -32,7 +32,8 @@ fi # eSignerCKAのセットアップ if [ ! -d "$ESIGNERCKA_INSTALL_DIR" ]; then - curl -LO "https://github.com/SSLcom/eSignerCKA/releases/download/v1.0.6/SSL.COM-eSigner-CKA_1.0.6.zip" + curl -LO --retry 3 --retry-delay 5 --retry-all-errors \ + "https://github.com/SSLcom/eSignerCKA/releases/download/v1.0.6/SSL.COM-eSigner-CKA_1.0.6.zip" unzip -o SSL.COM-eSigner-CKA_1.0.6.zip mv *eSigner*CKA_*.exe eSigner_CKA_Installer.exe powershell "