Cache Qt installations

This commit is contained in:
Alex Spataru 2021-01-19 14:37:35 -05:00 committed by GitHub
parent 7676b9bd3f
commit e9d88c375d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,16 @@ jobs:
with: with:
submodules: recursive submodules: recursive
#
# Cache Qt
#
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
with:
path: ../Qt
key: ${{runner.os}}-QtCache
# #
# Install Qt # Install Qt
# #
@ -52,6 +62,7 @@ jobs:
with: with:
modules: qtcharts modules: qtcharts
mirror: ${{env.QT_DOWNLOAD_MIRROR}} mirror: ${{env.QT_DOWNLOAD_MIRROR}}
cached: ${{steps.cache-qt.outputs.cache-hit}}
# #
# Install additional dependencies, stolen from: # Install additional dependencies, stolen from:
@ -109,6 +120,16 @@ jobs:
with: with:
submodules: recursive submodules: recursive
#
# Cache Qt
#
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
with:
path: ../Qt
key: ${{runner.os}}-QtCache
# #
# Install Qt # Install Qt
# #
@ -117,6 +138,7 @@ jobs:
with: with:
modules: qtcharts modules: qtcharts
mirror: ${{env.QT_DOWNLOAD_MIRROR}} mirror: ${{env.QT_DOWNLOAD_MIRROR}}
cached: ${{steps.cache-qt.outputs.cache-hit}}
# #
# Compile application # Compile application
@ -174,6 +196,16 @@ jobs:
arch: x64 arch: x64
spectre: true spectre: true
#
# Cache Qt
#
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
with:
path: ../Qt
key: ${{runner.os}}-QtCache
# #
# Install Qt # Install Qt
# #
@ -182,6 +214,7 @@ jobs:
with: with:
modules: qtcharts modules: qtcharts
mirror: ${{env.QT_DOWNLOAD_MIRROR}} mirror: ${{env.QT_DOWNLOAD_MIRROR}}
cached: ${{steps.cache-qt.outputs.cache-hit}}
# #
# Install NSIS # Install NSIS