From 0ba19332153160a96bc272ccac8cd76ce4cc427e Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Mon, 11 Apr 2022 15:25:25 +0200 Subject: [PATCH] Github Action: Cache Qt installation --- .github/workflows/qmake.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/qmake.yml b/.github/workflows/qmake.yml index 915f5fc1..9fcbc514 100644 --- a/.github/workflows/qmake.yml +++ b/.github/workflows/qmake.yml @@ -13,7 +13,15 @@ jobs: steps: - uses: actions/checkout@v2 - - name: install Qt + + - name: Cache Qt + id: cache-qt + uses: actions/cache@v1 # not v2! + with: + path: ../Qt + key: ${{ runner.os }}-QtCache + + - name: Install Qt uses: jurplel/install-qt-action@v2 with: version: '5.15.2' @@ -21,7 +29,7 @@ jobs: target: 'desktop' install-deps: 'true' modules: 'qtwebengine' - cached: 'false' + cached: ${{ steps.cache-qt.outputs.cache-hit }} setup-python: 'true' tools: '' set-env: 'true'