Skip to content

Commit 6be9eb0

Browse files
committed
ci: GitHub actions fix conan cache
1 parent 99e65dc commit 6be9eb0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/tox_matrix.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
id: cache-conan
7575
uses: actions/cache@v3
7676
with:
77-
path: "${{steps.conan-path-script.outputs.result}}/.conan"
77+
path: "${{steps.conan-path-script.outputs.result}}/.conan2"
7878
key: ${{ runner.os }}-conan-${{ hashFiles('conanfile.py') }}
7979

8080
- name: Prebuild Conan packages (Windows)
@@ -84,16 +84,16 @@ jobs:
8484
env:
8585
CONAN_USER_HOME: "${{steps.conan-path-script.outputs.result}}"
8686
run: |
87-
"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 && uvx --index-strategy unsafe-best-match --with cmake conan profile detect --exist-ok
88-
"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 && uvx --index-strategy unsafe-best-match --with cmake conan install conanfile.py --build missing -of %TEMP%\ciwheelbuilder -pr:b=default
87+
"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 && uvx --with cmake conan profile detect --exist-ok
88+
"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 && uvx --with cmake conan install conanfile.py --build missing -of %TEMP%\ciwheelbuilder -pr:b=default
8989
9090
- name: Prebuild Conan packages
9191
env:
9292
CONAN_USER_HOME: "${{steps.conan-path-script.outputs.result}}"
9393
if: "!contains(matrix.os, 'windows') && steps.cache-conan.outputs.cache-hit != 'true'"
9494
run: |
95-
uvx --index-strategy unsafe-best-match --with cmake conan profile detect --exist-ok
96-
uvx --index-strategy unsafe-best-match --with cmake conan install conanfile.py --build missing -of /tmp/ciwheelbuilder -pr:b=default
95+
uvx --with cmake conan profile detect --exist-ok
96+
uvx --with cmake conan install conanfile.py --build missing -of /tmp/ciwheelbuilder -pr:b=default
9797
9898
9999
- name: Run Tox (Windows)

0 commit comments

Comments
 (0)