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")