Skip to content

Commit fe532c0

Browse files
authored
Fixes #202 Cache windows' vcpkg installation (#218)
* Cache windows' vcpkg installation Signed-off-by: Aleksandr Motsjonov <[email protected]> * test commit to see window CI build speed Signed-off-by: Aleksandr Motsjonov <[email protected]> --------- Signed-off-by: Aleksandr Motsjonov <[email protected]>
1 parent f39df5d commit fe532c0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build-steps.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@ jobs:
6969
yum-config-manager --disable centos-sclo-rh || true
7070
sed -i 's,^mirrorlist=,#,; s,^#baseurl=http://mirror\.centos\.org/centos/$releasever,baseurl=https://vault.centos.org/7.9.2009,' /etc/yum.repos.d/CentOS-Base.repo
7171
72+
- name: Cache vcpkg installed directory
73+
if: inputs.runner == 'windows-latest'
74+
uses: actions/cache@v4
75+
with:
76+
path: C:/vcpkg/installed
77+
key: |
78+
vcpkg-${{ runner.os }}-${{ hashFiles('build_scripts/vcpkg.json') }}-${{ hashFiles('build_scripts/vcpkg.json.lock') }}
79+
restore-keys: |
80+
vcpkg-${{ runner.os }}-
81+
7282
- name: Dependencies
7383
if: inputs.vfxyear < 2024
7484
shell: bash

0 commit comments

Comments
 (0)