From 5c43afd213c6b8f37cbedb260d7f56cbca54b85a Mon Sep 17 00:00:00 2001 From: Aleksey Loginov Date: Mon, 14 Oct 2024 22:30:58 +0300 Subject: [PATCH] Speedup cache --- .github/workflows/ci v2.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci v2.yml b/.github/workflows/ci v2.yml index d8d4c9496..70319bfeb 100644 --- a/.github/workflows/ci v2.yml +++ b/.github/workflows/ci v2.yml @@ -36,20 +36,6 @@ jobs: with: fetch-depth: 0 - # Work around https://github.com/actions/runner-images/issues/8659 - # - name: "Remove GCC 13 from runner image (workaround)" - # if: matrix.config.os == 'ubuntu-latest' - # shell: bash - # run: | - # sudo apt-get update - # sudo apt-get purge -y g++-13 gcc-13 libstdc++-13-dev - # sudo apt-get install -y --allow-downgrades libstdc++-12-dev libstdc++6=12.* libgcc-s1=12.* - - - name: Install Qt - uses: jurplel/install-qt-action@v4 - with: - cache: true - - name: get conan uses: turtlebrowser/get-conan@main @@ -64,6 +50,12 @@ jobs: restore-keys: deps-${{ matrix.config.name }}-${{ matrix.build_type.config }} lookup-only: true + - name: Install Qt + if: steps.check_cache.outputs.cache-hit != 'true' || github.event_name == 'schedule' + uses: jurplel/install-qt-action@v4 + with: + cache: true + - name: conan detect profile if: steps.check_cache.outputs.cache-hit != 'true' || github.event_name == 'schedule' run: |