This repository was archived by the owner on Apr 19, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-14
lines changed
Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change 22name : ' setup_cache'
33description : ' sets up the shared cache'
44inputs :
5- compiler :
5+ configure_preset :
66 required : true
77 type : string
8- build_type :
9- required : true
10- type : string
11- generator :
12- required : true
13- type : string
14- developer_mode :
8+ build_preset :
159 required : true
1610 type : string
1711
3226 ${{ env.XDG_CACHE_HOME }}/vcpkg/archives
3327 ${{ env.LOCALAPPDATA }}\vcpkg\archives
3428 ${{ env.APPDATA }}\vcpkg\archives
35- key : ${{ runner.os }}-${{ inputs.compiler }}-${{ inputs.build_type }}-${{ hashFiles('./conanfile.txt')}}-${{ inputs.generator }}-${{ inputs.developer_mode }}-${{ hashFiles('**/CMakeLists.txt') }}-${{ hashFiles('./vcpkg.json')}}
29+ key : ${{ runner.os }}-${{ inputs.configure_preset }}-${{ inputs.build_preset }}-${{ hashFiles('./conanfile.txt')}}-${{ hashFiles('**/CMakeLists.txt') }}-${{ hashFiles('./vcpkg.json')}}
3630 restore-keys : |
37- ${{ runner.os }}-${{ inputs.compiler }}-${{ inputs.build_type }}-${{ hashFiles('./conanfile.txt') }}
31+ ${{ runner.os }}-${{ inputs.configure_preset }}-${{ inputs.build_preset }}-${{ hashFiles('./conanfile.txt') }}
3832
Original file line number Diff line number Diff line change @@ -140,10 +140,8 @@ jobs:
140140 - name : Setup Cache
141141 uses : ./.github/actions/setup_cache
142142 with :
143- compiler : ${{ matrix.compiler }}
144- build_type : ${{ matrix.build_type }}
145- developer_mode : ${{ matrix.developer_mode }}
146- generator : ${{ matrix.generator }}
143+ configure_preset : ${{ matrix.configure_preset }}
144+ build_preset : ${{ matrix.build_test_preset }}
147145
148146 - name : Setup Cpp
149147 uses : aminya/setup-cpp@v1
You can’t perform that action at this time.
0 commit comments