From 29171d26cd5c0682a06bc58f2e3e06c6d532b99a Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 13 Feb 2021 09:58:21 -0800 Subject: [PATCH 1/2] Build: Allow on actions test branch. --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b8fddd1a76..f44e04cbe0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,8 @@ on: push: branches: - master + # For testing. + - actions paths-ignore: - '*.{txt,md}' - 'Tools/**' From da62dde15c70ac5cab28d0a0a1a4bf502650b204 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 13 Feb 2021 10:07:06 -0800 Subject: [PATCH 2/2] Build: Cache Qt during Actions run. --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f44e04cbe0..00187ee1c5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -178,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'