This repository was archived by the owner on Apr 19, 2023. It is now read-only.
File tree 2 files changed +6
-14
lines changed
2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change 2
2
name : ' setup_cache'
3
3
description : ' sets up the shared cache'
4
4
inputs :
5
- compiler :
5
+ configure_preset :
6
6
required : true
7
7
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 :
15
9
required : true
16
10
type : string
17
11
32
26
${{ env.XDG_CACHE_HOME }}/vcpkg/archives
33
27
${{ env.LOCALAPPDATA }}\vcpkg\archives
34
28
${{ 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')}}
36
30
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') }}
38
32
Original file line number Diff line number Diff line change @@ -131,10 +131,8 @@ jobs:
131
131
- name : Setup Cache
132
132
uses : ./.github/actions/setup_cache
133
133
with :
134
- compiler : ${{ matrix.compiler }}
135
- build_type : ${{ matrix.build_type }}
136
- developer_mode : ${{ matrix.developer_mode }}
137
- generator : ${{ matrix.generator }}
134
+ configure_preset : ${{ matrix.configure_preset }}
135
+ build_preset : ${{ matrix.build_test_preset }}
138
136
139
137
- name : Setup Cpp
140
138
uses : aminya/setup-cpp@v1
You can’t perform that action at this time.
0 commit comments