switch cache action back

This commit is contained in:
ConfiG 2023-08-01 23:48:51 +03:00
parent e6e5c8aafa
commit eea6d17d33
No known key found for this signature in database
GPG key ID: 44DA1983F524C11B

View file

@ -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