From 1aff0303178cd011ad188dfa68e92560bf8a4fa9 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 17 Nov 2023 22:32:33 +0800 Subject: [PATCH] GHA CI: enable caching for Qt library --- .github/workflows/ci_macos.yaml | 1 + .github/workflows/ci_ubuntu.yaml | 1 + .github/workflows/ci_windows.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/ci_macos.yaml b/.github/workflows/ci_macos.yaml index 5719960c9..896ef381e 100644 --- a/.github/workflows/ci_macos.yaml +++ b/.github/workflows/ci_macos.yaml @@ -66,6 +66,7 @@ jobs: version: ${{ matrix.qt_version }} archives: qtbase qtdeclarative qtsvg qttools # Not sure why Qt made a hard dependency on qtdeclarative, try removing it when Qt > 6.4.0 + cache: true - name: Install libtorrent run: | diff --git a/.github/workflows/ci_ubuntu.yaml b/.github/workflows/ci_ubuntu.yaml index 9b8b7da12..cf903dca4 100644 --- a/.github/workflows/ci_ubuntu.yaml +++ b/.github/workflows/ci_ubuntu.yaml @@ -48,6 +48,7 @@ jobs: with: version: ${{ matrix.qt_version }} archives: icu qtbase qtsvg qttools + cache: true - name: Install libtorrent run: | diff --git a/.github/workflows/ci_windows.yaml b/.github/workflows/ci_windows.yaml index 4f8a1ee00..5f3ae4ccc 100644 --- a/.github/workflows/ci_windows.yaml +++ b/.github/workflows/ci_windows.yaml @@ -81,6 +81,7 @@ jobs: with: version: "6.5.0" archives: qtbase qtsvg qttools + cache: true - name: Install libtorrent run: |