From d9c42811a8d6be8dd4d8e2b9da578e485a5a112f Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Mon, 27 May 2024 09:51:57 +0200 Subject: [PATCH] wip --- .github/workflows/osrm-backend.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/osrm-backend.yml b/.github/workflows/osrm-backend.yml index 9db4ec0b6..0bfd80aa3 100644 --- a/.github/workflows/osrm-backend.yml +++ b/.github/workflows/osrm-backend.yml @@ -358,11 +358,7 @@ jobs: - name: Enable compiler cache uses: actions/cache@v4 with: - path: - /home/runner/.ccache - /Users/runner/.ccache - ~/.config/ccache - ~/.cache/ccache + path: ~/.ccache key: ccache-${{ matrix.name }}-${{ github.sha }} restore-keys: | ccache-${{ matrix.name }}- @@ -383,8 +379,8 @@ jobs: - name: Prepare environment run: | - # echo "CCACHE_DIR=$HOME/.ccache" >> $GITHUB_ENV - # mkdir -p $HOME/.ccache + echo "CCACHE_DIR=$HOME/.ccache" >> $GITHUB_ENV + mkdir -p $HOME/.ccache PACKAGE_JSON_VERSION=$(node -e "console.log(require('./package.json').version)") echo PUBLISH=$([[ "${GITHUB_REF:-}" == "refs/tags/v${PACKAGE_JSON_VERSION}" ]] && echo "On" || echo "Off") >> $GITHUB_ENV @@ -619,6 +615,8 @@ jobs: ccache -s ls ~ + ls ~/.ccache + # benchmarks: # if: github.event_name == 'pull_request'