Github Action: Cache Qt installation
This commit is contained in:
parent
3856a51e45
commit
0ba1933215
|
@ -13,7 +13,15 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- 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
|
uses: jurplel/install-qt-action@v2
|
||||||
with:
|
with:
|
||||||
version: '5.15.2'
|
version: '5.15.2'
|
||||||
|
@ -21,7 +29,7 @@ jobs:
|
||||||
target: 'desktop'
|
target: 'desktop'
|
||||||
install-deps: 'true'
|
install-deps: 'true'
|
||||||
modules: 'qtwebengine'
|
modules: 'qtwebengine'
|
||||||
cached: 'false'
|
cached: ${{ steps.cache-qt.outputs.cache-hit }}
|
||||||
setup-python: 'true'
|
setup-python: 'true'
|
||||||
tools: ''
|
tools: ''
|
||||||
set-env: 'true'
|
set-env: 'true'
|
||||||
|
|
Loading…
Reference in New Issue