Skip to content

Commit

Permalink
Ise WebClient DownloadFile instead of curl (slow and limited to a max…
Browse files Browse the repository at this point in the history
… size)
  • Loading branch information
ptormene committed Feb 13, 2024
1 parent d409046 commit 2df4055
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:
ref: ${{ matrix.ENGINE_BR }}
- name: Install QGIS
run: |
curl https://qgis.org/downloads/${{matrix.QGIS_INSTALLER}} && Start-Process -FilePath ".\${{matrix.QGIS_INSTALLER}}" -ArgumentList "/quiet /passive" -Wait;
$WebClient = New-Object System.Net.WebClient
$WebClient.DownloadFile("https://qgis.org/downloads/${{matrix.QGIS_INSTALLER}}", ".\${{matrix.QGIS_INSTALLER}}"
Start-Process -FilePath ".\${{matrix.QGIS_INSTALLER}}" -ArgumentList "/quiet /passive" -Wait;
- name: ⏳ Clone engine and restore oqdata
run: |
set -x
Expand Down

0 comments on commit 2df4055

Please sign in to comment.