File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,17 @@ jobs:
19
19
with :
20
20
python-version : ' 3.7' # Needed for PEP 540
21
21
22
+ - name : Setup MSBuild.exe
23
+ uses : warrenbuckley/Setup-MSBuild@v1
24
+
25
+ - name : Check MSBuild.exe
26
+ run : MSBuild.exe -version | Out-File -FilePath $env:GITHUB_WORKSPACE\MSBuild_version
27
+
22
28
- uses : actions/cache@v1
23
29
id : vcpkgcache
24
30
with :
25
31
path : C:/vcpkg/installed
26
- key : ${{ runner.os }}-vcpkg
32
+ key : ${{ runner.os }}-vcpkg-${{ hashFiles('MSBuild_version') }}
27
33
28
34
- name : Update vcpkg and install packages
29
35
if : steps.vcpkgcache.outputs.cache-hit != 'true'
54
60
}
55
61
- name : Generate project files
56
62
run : python build_msvc\msvc-autogen.py
57
- - name : Setup MSBuild.exe
58
- uses : warrenbuckley/Setup-MSBuild@v1
59
63
- name : vcpkg integration
60
64
run : C:/vcpkg/vcpkg.exe integrate install
61
65
- name : Build
You can’t perform that action at this time.
0 commit comments