Skip to content

Commit

Permalink
switch cache action back
Browse files Browse the repository at this point in the history
  • Loading branch information
cgytrus committed Aug 1, 2023
1 parent e6e5c8a commit eea6d17
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- '!no-build-**' # unless marked as no-build

env:
SCCACHE_GHA_ENABLED: "true"
SCCACHE_GHA_ENABLED: "on"

jobs:
build:
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit eea6d17

Please sign in to comment.