From 6b00157032c6df22f4a31356ebaff3edfa6541af Mon Sep 17 00:00:00 2001 From: Mateo Pidal Date: Wed, 5 May 2021 19:34:05 -0300 Subject: [PATCH] fix Qt install & Cache it --- .github/workflows/qt.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/qt.yml b/.github/workflows/qt.yml index db8e1721..f2a4e417 100644 --- a/.github/workflows/qt.yml +++ b/.github/workflows/qt.yml @@ -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