Fix cache dir

This commit is contained in:
badaix 2023-01-22 13:17:21 +01:00
parent 93327d9a20
commit dfd73d29d9

View file

@ -88,7 +88,7 @@ jobs:
id: cache-ccache id: cache-ccache
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: ${{ env.HOME }}/.ccache path: /home/runner/.ccache
key: ${{ runner.os }}-${{ matrix.compiler }}-ccache-${{ github.sha }} key: ${{ runner.os }}-${{ matrix.compiler }}-ccache-${{ github.sha }}
restore-keys: ${{ runner.os }}-${{ matrix.compiler }}-ccache- restore-keys: ${{ runner.os }}-${{ matrix.compiler }}-ccache-
#- name: ccache dump config #- name: ccache dump config
@ -106,7 +106,7 @@ jobs:
CXX: ${{ matrix.cxx }} CXX: ${{ matrix.cxx }}
- name: build - name: build
env: env:
CCACHE_DIR: ${{ env.HOME }}/.ccache CCACHE_DIR: /home/runner/.ccache
run: cmake --build build --parallel 3 --verbose run: cmake --build build --parallel 3 --verbose