Skip to content

Commit 2245cfa

Browse files
committed
Attempt #12347
1 parent 9d900bb commit 2245cfa

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ jobs:
7979
restore-keys: |
8080
vcpkg-${{ runner.os }}-${{ matrix.os-version }}-${{ matrix.crypto }}-
8181
82+
- name: Ensure vcpkg cache directories exist
83+
run: |
84+
New-Item -ItemType Directory -Path "${{ env.VCPKG_ROOT }}/downloads" -Force | Out-Null
85+
New-Item -ItemType Directory -Path "${{ env.VCPKG_DEFAULT_BINARY_CACHE }}" -Force | Out-Null
86+
shell: pwsh
87+
8288
# Mark all directories as safe so checkouts performed in CMakeLists.txt don't cause "unsafe repository" errors.
8389
# See https://github.com/actions/checkout/issues/766
8490
- name: Configure Git

0 commit comments

Comments
 (0)