diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-13 20:56:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-13 20:56:28 (GMT) |
commit | f083a2bb18accc0decc5042cee62b4307c96c03b (patch) | |
tree | 9c3935792633bc37c6bf14043f8d024b2df38b6e | |
parent | caea821fc6247b4e937a63f07689560cd59ad4ff (diff) | |
download | Doxygen-f083a2bb18accc0decc5042cee62b4307c96c03b.zip Doxygen-f083a2bb18accc0decc5042cee62b4307c96c03b.tar.gz Doxygen-f083a2bb18accc0decc5042cee62b4307c96c03b.tar.bz2 |
Update build_cmake.yml
-rw-r--r-- | .github/workflows/build_cmake.yml | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 0839039..a7ae96f 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -61,12 +61,25 @@ jobs: steps: - uses: actions/checkout@v1 - - uses: suisei-cn/actions-download-file@v1 - with: - url: "https://miktex.org/download/win/miktexsetup-x64.zip" - target: . +# - uses: suisei-cn/actions-download-file@v1 +# with: +# url: "https://miktex.org/download/win/miktexsetup-x64.zip" +# target: . +# if: matrix.config.os == 'windows-latest' + + - name: Download MikTex (Windows) + shell: ps1 + run: + $wc = New-Object System.Net.WebClient + $maxAttempts=5 + $attemptCount=0 + Do { + $attemptCount++ + echo "downloading: attempt $attemptCount" + $wc.DownloadFile("https://miktex.org/download/win/miktexsetup-x64.zip","miktexsetup-x64.zip") + } while (((Test-Path "miktexsetup-x64.zip") -eq $false) -and ($attemptCount -le $maxAttempts)) if: matrix.config.os == 'windows-latest' - + - uses: suisei-cn/actions-download-file@v1 with: url: "https://github.com/pffang/libiconv-for-Windows/releases/download/v1.16/libiconv-for-Windows_1.16.7z" |