Fix CCache path in GitHub Actions

This commit is contained in:
Siarhei Fedartsou 2024-05-26 18:41:04 +02:00
parent 040d9c3a44
commit f28b548a2f

View File

@ -12,7 +12,7 @@ on:
- master
env:
CCACHE_DIR: /home/runner/.ccache
CCACHE_DIR: ${{ env.HOME }}/.ccache
CCACHE_TEMPDIR: /tmp/.ccache-temp
CCACHE_COMPRESS: 1
CASHER_TIME_OUT: 599 # one second less than 10m to avoid 10m timeout error: https://github.com/Project-OSRM/osrm-backend/issues/2742
@ -607,10 +607,10 @@ jobs:
omitNameDuringUpdate: true
replacesArtifacts: true
token: ${{ secrets.GITHUB_TOKEN }}
- name: Show CCache statistics
run: |
ccache -p
ccache -s
# - name: Show CCache statistics
# run: |
# ccache -p
# ccache -s
benchmarks: