Github Action: Cache Qt installation

This commit is contained in:
Peter Hartmann 2022-04-11 15:25:25 +02:00
parent 3856a51e45
commit 0ba1933215
1 changed files with 10 additions and 2 deletions

View File

@ -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'