Skip to content

Commit

Permalink
Merge pull request #14135 from unknownbrackets/actions
Browse files Browse the repository at this point in the history
Build: Cache Qt during Actions run
  • Loading branch information
hrydgard authored Feb 13, 2021
2 parents 91f84ce + da62dde commit f1a7a70
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- master
# For testing.
- actions
paths-ignore:
- '*.{txt,md}'
- 'Tools/**'
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit f1a7a70

Please sign in to comment.