From eea6d17d33be8d796a98c82d938bf9f6cbf38862 Mon Sep 17 00:00:00 2001 From: ConfiG Date: Tue, 1 Aug 2023 23:48:51 +0300 Subject: [PATCH] switch cache action back --- .github/workflows/build.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16a243ccb..7bfe20686 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ on: - '!no-build-**' # unless marked as no-build env: - SCCACHE_GHA_ENABLED: "true" + SCCACHE_GHA_ENABLED: "on" jobs: build: @@ -46,8 +46,11 @@ jobs: with: submodules: recursive - - name: Configure sccache - uses: mozilla-actions/sccache-action@v0.0.3 + - name: Configure cache + uses: hendrikmuhs/ccache-action@v1 + with: + key: ${{ matrix.config.os }} + variant: sccache - uses: ilammy/msvc-dev-cmd@v1 with: @@ -72,8 +75,7 @@ jobs: - name: Configure CMake run: > - cmake -B - ${{ github.workspace }}/build + cmake -B ${{ github.workspace }}/build ${{ matrix.config.extra_flags }} -DCLI_PATH="${{ github.workspace }}/cli" -DCMAKE_C_COMPILER_LAUNCHER=sccache