diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-13 21:21:07 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-13 22:25:14 +0300 |
commit | 6b35a376fe796a74ed378c79ad61ef60af8c0836 (patch) | |
tree | f78a7eecf3041a1139f2728c8272e7390fe9efb1 /.github/workflows | |
parent | workflows: cache Boost downloads (diff) | |
download | cmake-common-6b35a376fe796a74ed378c79ad61ef60af8c0836.tar.gz cmake-common-6b35a376fe796a74ed378c79ad61ef60af8c0836.zip |
workflows: fix Boost caching
It seemingly doesn't work unless the key includes runner.os?
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/basic.yml | 2 | ||||
-rw-r--r-- | .github/workflows/boost_clang_windows.yml | 2 | ||||
-rw-r--r-- | .github/workflows/boost_toolsets.yml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index 2b29792..89c2fc0 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -40,7 +40,7 @@ jobs: uses: actions/cache@v2 with: path: boost_*.tar.gz - key: boost-1.72.0 + key: ${{ runner.os }}-boost-1.72.0 - name: Build Boost run: | diff --git a/.github/workflows/boost_clang_windows.yml b/.github/workflows/boost_clang_windows.yml index dca79aa..69160f3 100644 --- a/.github/workflows/boost_clang_windows.yml +++ b/.github/workflows/boost_clang_windows.yml @@ -38,7 +38,7 @@ jobs: uses: actions/cache@v2 with: path: '${{ runner.workspace }}/boost/boost_*.tar.gz' - key: boost-${{ matrix.boost-version }} + key: '${{ runner.os }}-boost-${{ matrix.boost-version }}' - name: Clean up PATH uses: egor-tensin/cleanup-path@v1 diff --git a/.github/workflows/boost_toolsets.yml b/.github/workflows/boost_toolsets.yml index 165bc47..8653316 100644 --- a/.github/workflows/boost_toolsets.yml +++ b/.github/workflows/boost_toolsets.yml @@ -114,7 +114,7 @@ jobs: uses: actions/cache@v2 with: path: '${{ runner.workspace }}/boost/boost_*.tar.gz' - key: 'boost-${{ matrix.boost-version }}' + key: '${{ runner.os }}-boost-${{ matrix.boost-version }}' - name: Clean up PATH uses: egor-tensin/cleanup-path@v1 |