From 040d9c3a4401de1d5b7c328ca5e818bf5b841a79 Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Sun, 26 May 2024 18:39:32 +0200 Subject: [PATCH] Fix CCache path in GitHub Actions --- .github/workflows/osrm-backend.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/osrm-backend.yml b/.github/workflows/osrm-backend.yml index 27529602e..2f2ed1f44 100644 --- a/.github/workflows/osrm-backend.yml +++ b/.github/workflows/osrm-backend.yml @@ -12,7 +12,7 @@ on: - master env: - CCACHE_DIR: ~/.ccache + CCACHE_DIR: /home/runner/.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 @@ -359,7 +359,7 @@ jobs: - name: Enable compiler cache uses: actions/cache@v4 with: - path: {{ env.CCACHE_DIR }} + path: ${{ env.CCACHE_DIR }} key: ccache-${{ matrix.name }}-${{ github.sha }} restore-keys: | ccache-${{ matrix.name }}- @@ -629,7 +629,7 @@ jobs: - name: Enable compiler cache uses: actions/cache@v4 with: - path: {{ env.CCACHE_DIR }} + path: ${{ env.CCACHE_DIR }} key: v1-ccache-benchmarks-${{ github.sha }} restore-keys: | v1-ccache-benchmarks-