aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/ci_appveyor.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-14 00:01:14 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-14 04:26:23 +0300
commiteca875ba4e54af3ee90d0f0151f4018d3a0f99e8 (patch)
tree03ae54c8bfb46ef637da9a39d72013dc95b531e0 /.github/workflows/ci_appveyor.yml
parentproject.ci: cache Boost downloads (diff)
downloadcmake-common-eca875ba4e54af3ee90d0f0151f4018d3a0f99e8.tar.gz
cmake-common-eca875ba4e54af3ee90d0f0151f4018d3a0f99e8.zip
workflows: _really_ fix Boost caching?..
actions/cache@v2 doesn't work on windows-2016 images, since those contain the GNU tar, which cannot work with \ as path separator. This was fixed in package @actions/cache v1.0.5, which is used by action actions/cache@v2.1.4 [1][2]. In addition, it simply couldn't find tar.exe on those images thanks to my action cleanup-path, which removed the corresponding directory (I think it was Git's bin/) from PATH. It worked for windows-2019 images thanks to them containing tar.exe in System32. Solved by turning cleanup-path into a JavaScript action with a "post" step, which restores the original PATH value. [1]: https://github.com/actions/virtual-environments/issues/480 [2]: https://github.com/actions/toolkit/issues/632
Diffstat (limited to '.github/workflows/ci_appveyor.yml')
-rw-r--r--.github/workflows/ci_appveyor.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci_appveyor.yml b/.github/workflows/ci_appveyor.yml
index a88dc7d..6b66455 100644
--- a/.github/workflows/ci_appveyor.yml
+++ b/.github/workflows/ci_appveyor.yml
@@ -46,10 +46,10 @@ jobs:
python-version: '3.x'
- name: Cache Boost
- uses: actions/cache@v2
+ uses: actions/cache@v2.1.4
with:
path: C:\projects\boost_*.tar.gz
- key: '${{ runner.os }}-boost-${{ env.boost_version }}'
+ key: 'boost-${{ env.boost_version }}'
- name: Create C:\projects
run: mkdir C:\projects