Skip to content

Commit 1bbb877

Browse files
committed
Add logging to cache save
1 parent a397823 commit 1bbb877

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/actions/conan-cache-restore/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ runs:
4848
env:
4949
cache-name: cache-conan-data
5050
with:
51-
path: ${{ github.workspace }}/conan_cache_save.tgz
51+
path: conan_cache_save.tgz
5252
key: ${{ hashFiles('**/conanfile.py') }}-build-${{ inputs.os }}-${{ inputs.build-type }}-${{ inputs.conan-compiler }}-${{ inputs.compiler-version }}${{ steps.prep.outputs.stdlib }}${{ steps.prep.outputs.suffix }}
5353
restore-keys: |
5454
${{ hashFiles('**/conanfile.py') }}-build-${{ inputs.os }}-${{ inputs.build-type }}-${{ inputs.conan-compiler }}-${{ inputs.compiler-version }}${{ steps.prep.outputs.stdlib }}${{ steps.prep.outputs.suffix }}
@@ -57,6 +57,6 @@ runs:
5757
- name: Conan Cache Restore
5858
shell: bash
5959
run: |
60-
if [ -f ./conan_cache_save.tgz ]; then
61-
conan cache restore ./conan_cache_save.tgz
60+
if [ -f conan_cache_save.tgz ]; then
61+
conan cache restore conan_cache_save.tgz
6262
fi

.github/actions/conan-cache-save/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ runs:
88
shell: bash
99
run: |
1010
conan cache clean
11-
conan cache save "*/*:*"
11+
conan cache save "*/*:*" --file conan_cache_save.tgz

.github/workflows/cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
- {
159159
name: "Visual Studio 2019",
160160
os: windows-latest,
161-
compiler: { type: VISUAL, version: 16, conan: "mscv", cc: "cl", cxx: "cl", std: 23 },
161+
compiler: { type: VISUAL, version: 16, conan: "msvc", cc: "cl", cxx: "cl", std: 23 },
162162
}
163163
- {
164164
name: "MacOS Apple Clang 15",

0 commit comments

Comments
 (0)