From e9d88c375dd51f825c5f3c1319a3acc84c7874e1 Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Tue, 19 Jan 2021 14:37:35 -0500 Subject: [PATCH] Cache Qt installations --- .github/workflows/Build.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index cbd6e1c4..4c8826d8 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -44,6 +44,16 @@ jobs: with: submodules: recursive + # + # Cache Qt + # + - name: Cache Qt + id: cache-qt + uses: actions/cache@v1 + with: + path: ../Qt + key: ${{runner.os}}-QtCache + # # Install Qt # @@ -52,6 +62,7 @@ jobs: with: modules: qtcharts mirror: ${{env.QT_DOWNLOAD_MIRROR}} + cached: ${{steps.cache-qt.outputs.cache-hit}} # # Install additional dependencies, stolen from: @@ -109,6 +120,16 @@ jobs: with: submodules: recursive + # + # Cache Qt + # + - name: Cache Qt + id: cache-qt + uses: actions/cache@v1 + with: + path: ../Qt + key: ${{runner.os}}-QtCache + # # Install Qt # @@ -117,6 +138,7 @@ jobs: with: modules: qtcharts mirror: ${{env.QT_DOWNLOAD_MIRROR}} + cached: ${{steps.cache-qt.outputs.cache-hit}} # # Compile application @@ -174,6 +196,16 @@ jobs: arch: x64 spectre: true + # + # Cache Qt + # + - name: Cache Qt + id: cache-qt + uses: actions/cache@v1 + with: + path: ../Qt + key: ${{runner.os}}-QtCache + # # Install Qt # @@ -182,6 +214,7 @@ jobs: with: modules: qtcharts mirror: ${{env.QT_DOWNLOAD_MIRROR}} + cached: ${{steps.cache-qt.outputs.cache-hit}} # # Install NSIS