Browse Source

CI: Only download Qt if it doesn't exist already

Gol-D-Ace 6 years ago
parent
commit
baddca2536
1 changed files with 1 additions and 1 deletions
  1. 1 1
      CI/install-qt-win.cmd

+ 1 - 1
CI/install-qt-win.cmd

@@ -1,4 +1,4 @@
-curl -kLO https://cdn-fastly.obsproject.com/downloads/Qt_5.10.1.7z -f --retry 5 -C -
+if exist Qt_5.10.1.7z (curl -kLO https://cdn-fastly.obsproject.com/downloads/Qt_5.10.1.7z -f --retry 5 -z Qt_5.10.1.7z) else (curl -kLO https://cdn-fastly.obsproject.com/downloads/Qt_5.10.1.7z -f --retry 5 -C -)
 7z x Qt_5.10.1.7z -oQt
 mv Qt C:\QtDep
 dir C:\QtDep