diff --git a/.github/workflows/build-steps.yml b/.github/workflows/build-steps.yml index 583c4801..84650a1a 100644 --- a/.github/workflows/build-steps.yml +++ b/.github/workflows/build-steps.yml @@ -69,6 +69,16 @@ jobs: yum-config-manager --disable centos-sclo-rh || true 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 + - name: Cache vcpkg installed directory + if: inputs.runner == 'windows-latest' + uses: actions/cache@v4 + with: + path: C:/vcpkg/installed + key: | + vcpkg-${{ runner.os }}-${{ hashFiles('build_scripts/vcpkg.json') }}-${{ hashFiles('build_scripts/vcpkg.json.lock') }} + restore-keys: | + vcpkg-${{ runner.os }}- + - name: Dependencies if: inputs.vfxyear < 2024 shell: bash