Skip to content

Commit

Permalink
Try using Invoke-WebRequest to download Doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbianco committed Sep 30, 2024
1 parent 0600bc0 commit d22c1e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d22c1e2

Please sign in to comment.