We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1efd1ff commit b494bcbCopy full SHA for b494bcb
.github/workflows/build-toolchain.yml
@@ -139,6 +139,8 @@ jobs:
139
# Override VCPKG_DEFAULT_BINARY_CACHE that lukka/run-vcpkg sets to its own temp dir
140
# This ensures vcpkg uses our cached directory instead
141
$cacheDir = "${{ github.workspace }}\vcpkg-bincache"
142
+ # Ensure the cache directory exists (cache restore may not create it on miss)
143
+ New-Item -ItemType Directory -Force -Path $cacheDir | Out-Null
144
$env:VCPKG_DEFAULT_BINARY_CACHE = $cacheDir
145
$env:VCPKG_BINARY_SOURCES = "clear;files,$cacheDir,readwrite"
146
"VCPKG_DEFAULT_BINARY_CACHE=$cacheDir" >> $env:GITHUB_ENV
0 commit comments