File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,21 +47,25 @@ jobs:
4747
4848 - name : Cache Conan Dependencies (Ubuntu Latest)
4949 if : ${{ runner.os == 'ubuntu-latest' }}
50- id : cache-conan
50+ id : cache-conan-ubuntu
5151 uses : actions/cache@v4
5252 with :
5353 path : /home/runner/.conan2
5454 key : conan-${{ runner.os }}-${{ matrix.c_compiler }}
5555
5656 - name : Cache Conan Dependencies (Windows Latest)
5757 if : ${{ runner.os == 'windows-latest' }}
58- id : cache-conan
58+ id : cache-conan-windows
5959 uses : actions/cache@v4
6060 with :
6161 path : C:\Users\runneradmin\.conan2
6262 key : conan-${{ runner.os }}-${{ matrix.c_compiler }}
6363
64- - if : ${{steps.cache-conan.outputs.cache-hit != 'true'}}
64+ - if : ${{ runner.os == 'ubuntu-latest' && steps.cache-conan-ubuntu.outputs.cache-hit != 'true' }}
65+ name : Create default Conan profile
66+ run : conan profile detect --force
67+
68+ - if : ${{ runner.os == 'windows-latest' && steps.cache-conan-windows.outputs.cache-hit != 'true' }}
6569 name : Create default Conan profile
6670 run : conan profile detect --force
6771
You can’t perform that action at this time.
0 commit comments