From 2fe9e9f53cdb6a0c6a6dc424a69ae1cbdf71931b Mon Sep 17 00:00:00 2001 From: Mihai Boldeanu Date: Tue, 5 Dec 2023 10:55:58 +0200 Subject: [PATCH] Changed windows to wget --- .github/workflows/windows-utils.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/windows-utils.yaml b/.github/workflows/windows-utils.yaml index d590e2ead..9aeca3c8a 100644 --- a/.github/workflows/windows-utils.yaml +++ b/.github/workflows/windows-utils.yaml @@ -80,6 +80,7 @@ jobs: # Invoke-WebRequest -Uri $downloadFileLink -OutFile "test_data.zip" - name: Download Test Data from Google Drive run: | + Remove-Item alias:wget wget --quiet --save-cookies cookies.txt --keep-session-cookies --no-check-certificate 'https://drive.google.com/uc?export=download&id=1ofiSQ4zDwXfHE65tow4_jDIceBYHNW_8' -O- | Out-String | Select-String -Pattern 'confirm=([0-9A-Za-z_]+)' | %{ $_.Matches.Groups[1].Value } > confirm.txt $confirmCode = Get-Content confirm.txt wget --load-cookies cookies.txt "https://drive.google.com/uc?export=download&confirm=$confirmCode&id=1ofiSQ4zDwXfHE65tow4_jDIceBYHNW_8" -O test_data.zip