Merge pull request #14135 from unknownbrackets/actions

Build: Cache Qt during Actions run
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2021-02-13 22:29:57 +01:00
commit f1a7a70c3d
1 file changed
+12
+12
View File
@@ -4,6 +4,8 @@ on:
push:
branches:
- master
# For testing.
- actions
paths-ignore:
- '*.{txt,md}'
- 'Tools/**'
@@ -176,9 +178,19 @@ jobs:
with:
submodules: recursive
- name: Cache Qt
uses: actions/cache@v1
if: matrix.extra == 'qt'
id: cache-qt
with:
path: ${{ runner.workspace }}/Qt
key: ${{ runner.os }}-QtCache
- name: Install Qt
uses: jurplel/install-qt-action@v2
if: matrix.extra == 'qt'
with:
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- uses: nttld/setup-ndk@v1
if: matrix.extra == 'android'