From df98c83d33ce5a6e8f7ff0ec8b8f7bbb732c6375 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Tue, 24 Nov 2020 18:10:52 -0700 Subject: [PATCH] [Test] Keep trying the paths for ccache --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bb280b890..c8ab2f484 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -149,7 +149,7 @@ jobs: - name: ccache cache files uses: actions/cache@v2 with: - path: $ENV{GITHUB_WORKSPACE}/.ccache + path: ${{runner.workspace}}/.ccache key: ${{ matrix.config.name }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }} restore-keys: | ${{ matrix.config.name }}-ccache- @@ -158,7 +158,7 @@ jobs: - name: Configure ccache shell: cmake -P {0} run: | - file(TO_CMAKE_PATH "$ENV{GITHUB_WORKSPACE}" ccache_basedir) + file(TO_CMAKE_PATH ${{runner.workspace}} ccache_basedir) set(ENV{CCACHE_BASEDIR} "${ccache_basedir}") set(ENV{CCACHE_DIR} "${ccache_basedir}/.ccache") set(ENV{CCACHE_COMPRESS} "true")