fix Qt install & Cache it

This commit is contained in:
Mateo Pidal
2021-05-05 19:34:05 -03:00
committed by GitHub
parent c7f31119af
commit 6b00157032

View File

@@ -50,6 +50,15 @@ jobs:
# An explicit key for restoring and saving the cache
key: ${{ runner.os }}-qt56-installer
- name: Cache Qt
uses: actions/cache@v2.1.5
id: qt-cached
with:
# A list of files, directories, and wildcard patterns to cache and restore
path: "C:/Qt"
# An explicit key for restoring and saving the cache
key: ${{ runner.os }}-qt56-installed
- name: Download Qt Installer
if: steps.installer-cached.outputs.cache-hit != 'true'
run: |
@@ -57,9 +66,10 @@ jobs:
- name: Download Qt non-Interactive Script
run: |
curl https://gist.githubusercontent.com/PibePlayer/cf6bd0a9f7e4d51e3e618ceedfba4b94/raw/bf2a0fb18fa7358b048efb329c370b0de26ca7f7/qt-installer-noninteractive.qs --output nonInteractive.qs
curl https://gist.githubusercontent.com/PibePlayer/cf6bd0a9f7e4d51e3e618ceedfba4b94/raw/3c31c42844a8dc4be79f3ca87a63d30a8982dbef/qt-installer-noninteractive.qs --output nonInteractive.qs
- name: Install Qt 5.6.3
if: steps.qt-cached.outputs.cache-hit != 'true'
shell: cmd
run: |
installer.exe -v --script nonInteractive.qs --silent