diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-14 18:00:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-14 18:00:40 (GMT) |
commit | 918185f3e5a91e2a131d3bd6feae9bd8930f9a07 (patch) | |
tree | 9214f7103acb520edf6b22788cf82a73afcbc767 /.github/workflows | |
parent | 586283b7ba5ccab10a8d29500c67d6ddac4c22b7 (diff) | |
download | Doxygen-918185f3e5a91e2a131d3bd6feae9bd8930f9a07.zip Doxygen-918185f3e5a91e2a131d3bd6feae9bd8930f9a07.tar.gz Doxygen-918185f3e5a91e2a131d3bd6feae9bd8930f9a07.tar.bz2 |
Update build_cmake.yml
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build_cmake.yml | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 8f85942..e4b4b72 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -61,12 +61,6 @@ jobs: steps: - uses: actions/checkout@v1 -# - 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) run: | $wc = New-Object System.Net.WebClient; @@ -75,7 +69,7 @@ jobs: Do { $attemptCount++; Try { - $wc.DownloadFile("https://miktex.org/download/win/miktexsetup-x64.zip","miktexsetup-x64.zip") + $wc.DownloadFile("https://ctan.math.illinois.edu/systems/win32/miktex/setup/windows-x64/miktexsetup-4.0-x64.zip","miktexsetup-4.0-x64.zip") } Catch [Exception] { Write-Host $_.Exception | format-list -force } @@ -102,15 +96,15 @@ jobs: - name: Extract MikTex zip (Windows) shell: bash run: | - 7z e miktexsetup-x64.zip - n=0 - until [ "$n" -ge 5 ] - do - ./miktexsetup.exe --local-package-repository=C:\miktex-repository --package-set=essential download && break - n=$((n+1)) - sleep 5 - done - ./miktexsetup.exe --local-package-repository=C:\miktex-repository --package-set=essential --shared install + unzip miktexsetup-4.0-x64.zip + ./miktexsetup.exe --local-package-repository=C:\miktex-repository \ + --remote-package-repository="https://ctan.math.illinois.edu/systems/win32/miktex/tm/packages/" \ + --package-set=essential \ + download + ./miktexsetup.exe --local-package-repository=C:\miktex-repository \ + --package-set=essential \ + --shared \ + install echo "C:/Program Files/MiKTeX/miktex/bin/x64/" >> $GITHUB_PATH export PATH="/c/Program Files/MiKTeX/miktex/bin/x64/:$PATH" if: matrix.config.os == 'windows-latest' |