diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index f8c222f5d7..89679dd0a9 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -26,7 +26,7 @@ jobs: - name: Install Doxygen # choco install doxygen.portable # <-- too unreliable. run: | - (New-Object System.Net.WebClient).DownloadFile("https://sourceforge.net/projects/myosin/files/doxygen-1.8.14.windows.x64.bin.zip/download", "doxygen.zip") + Invoke-WebRequest -Uri "https://sourceforge.net/projects/myosin/files/doxygen-1.8.14.windows.x64.bin.zip/download" -OutFile "doxygen.zip" -Headers @{"User-Agent" = "Mozilla/5.0"} 7z x $env:GITHUB_WORKSPACE/doxygen.zip -odoxygen echo "$env:GITHUB_WORKSPACE\\doxygen" >> $GITHUB_PATH @@ -166,7 +166,7 @@ jobs: - name: Install Doxygen # choco install doxygen.portable # <-- too unreliable. run: | - (New-Object System.Net.WebClient).DownloadFile("https://sourceforge.net/projects/myosin/files/doxygen-1.8.14.windows.x64.bin.zip/download", "doxygen.zip") + Invoke-WebRequest -Uri "https://sourceforge.net/projects/myosin/files/doxygen-1.8.14.windows.x64.bin.zip/download" -OutFile "doxygen.zip" -Headers @{"User-Agent" = "Mozilla/5.0"} 7z x $env:GITHUB_WORKSPACE/doxygen.zip -odoxygen echo "$env:GITHUB_WORKSPACE\\doxygen" >> $GITHUB_PATH