[ghactions] Cache Qt dependencies for building Windows Companion (#1431)

* [action] Cache QT install files
* Take into account two windows builds

Note: If for any reason the cache is corrupted, the cache key will need to be updated to make it re-build.
This commit is contained in:
Peter Feerick
2022-01-21 13:10:12 +10:00
committed by GitHub
parent 0ee144dd25
commit 294e250f08
2 changed files with 18 additions and 2 deletions
+9 -1
View File
@@ -65,10 +65,18 @@ jobs:
mingw-w64-i686-clang \
mingw-w64-i686-nsis
pip install Pillow clang
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1 # not v2!
with:
path: ../Qt
key: win32-QtCache
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
cached: ${{ steps.cache-qt.outputs.cache-hit }}
version: ${{ env.QT_VERSION }}
arch: ${{ env.MINGW_VERSION }}
+9 -1
View File
@@ -68,10 +68,18 @@ jobs:
mingw-w64-x86_64-clang \
mingw-w64-x86_64-nsis
pip install Pillow clang
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1 # not v2!
with:
path: ../Qt
key: win64-QtCache
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
cached: ${{ steps.cache-qt.outputs.cache-hit }}
version: ${{ env.QT_VERSION }}
arch: ${{ env.MINGW_VERSION }}