mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-01 19:34:29 +02:00
ci: saving cache even if the build fails
See: https://github.com/actions/cache/blob/main/caching-strategies.md#saving-cache-even-if-the-build-fails
This commit is contained in:
1
.github/workflows/ci-conan.yml
vendored
1
.github/workflows/ci-conan.yml
vendored
@@ -132,6 +132,7 @@ jobs:
|
||||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
||||
- name: Cache Conan data
|
||||
uses: actions/cache@v3
|
||||
if: always()
|
||||
env:
|
||||
cache-name: cache-conan-data
|
||||
with:
|
||||
|
1
.github/workflows/ci-test-package-cmake.yml
vendored
1
.github/workflows/ci-test-package-cmake.yml
vendored
@@ -131,6 +131,7 @@ jobs:
|
||||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
||||
- name: Cache Conan data
|
||||
uses: actions/cache@v3
|
||||
if: always()
|
||||
env:
|
||||
cache-name: cache-conan-data
|
||||
with:
|
||||
|
Reference in New Issue
Block a user