From d9a2a99132a54576434ba39b3a36d7d06cf6936e Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 25 Jan 2025 09:35:19 +0100 Subject: [PATCH] Add autoretries to curl --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5d9e47b8..0509882c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,7 +52,7 @@ jobs: uses: actions/checkout@v4 - name: Download DirectX Runtime - run: curl -L -o directx_Jun2010_redist.exe https://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe + run: curl --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 0 --retry-max-time 40 -L -o directx_Jun2010_redist.exe https://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe - name: Extract DirectX Runtime run: ./directx_Jun2010_redist.exe /Q /T:"${{github.workspace}}/dxrt"