summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-12-14 17:51:49 (GMT)
committerGitHub <noreply@github.com>2020-12-14 17:51:49 (GMT)
commit586283b7ba5ccab10a8d29500c67d6ddac4c22b7 (patch)
tree1ec05fd3d99bd6d73cf0b909ba9a879d04f45a7b /.github
parentf519414fda15682793834315a7f9c0c4e365cd4a (diff)
downloadDoxygen-586283b7ba5ccab10a8d29500c67d6ddac4c22b7.zip
Doxygen-586283b7ba5ccab10a8d29500c67d6ddac4c22b7.tar.gz
Doxygen-586283b7ba5ccab10a8d29500c67d6ddac4c22b7.tar.bz2
Update build_cmake.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build_cmake.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml
index 4a46071..8f85942 100644
--- a/.github/workflows/build_cmake.yml
+++ b/.github/workflows/build_cmake.yml
@@ -100,11 +100,19 @@ jobs:
if: matrix.config.os == 'macos-latest'
- name: Extract MikTex zip (Windows)
+ shell: bash
run: |
7z e miktexsetup-x64.zip
- .\miktexsetup.exe --local-package-repository=C:\miktex-repository --package-set=essential download
- .\miktexsetup.exe --local-package-repository=C:\miktex-repository --package-set=essential --shared install
+ 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
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'
- name: Install Ghostscript (Linux)
@@ -147,7 +155,7 @@ jobs:
- name: Check tools
shell: bash
run: |
- ls "C:/Program Files/MiKTeX/";
+ ls "C:/Program Files/MiKTeX/miktex/bin/x64";
echo "=== perl ===";
perl --version;
echo "=== python ===";