mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-10 14:48:46 +02:00
ci: Fix path input for vcpkg downloads cache
The `path` inputs for the `cache/save` and `cache/restore` actions must have identical content.
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -285,9 +285,10 @@ jobs:
|
|||||||
# Only save cache from the 'standard' job, as it includes the necessary downloads for other jobs in the matrix. If the matrix is modified, this may need amending.
|
# Only save cache from the 'standard' job, as it includes the necessary downloads for other jobs in the matrix. If the matrix is modified, this may need amending.
|
||||||
if: github.event_name != 'pull_request' && github.ref_name == github.event.repository.default_branch && steps.vcpkg-binary-cache.outputs.cache-hit != 'true' && steps.vcpkg-downloads-cache.outputs.cache-hit != 'true' && matrix.job-type == 'standard'
|
if: github.event_name != 'pull_request' && github.ref_name == github.event.repository.default_branch && steps.vcpkg-binary-cache.outputs.cache-hit != 'true' && steps.vcpkg-downloads-cache.outputs.cache-hit != 'true' && matrix.job-type == 'standard'
|
||||||
with:
|
with:
|
||||||
|
# Cache the tools once as archives, but not redundantly in extracted form.
|
||||||
path: |
|
path: |
|
||||||
~/AppData/Local/vcpkg/downloads/*
|
~/AppData/Local/vcpkg/downloads/*
|
||||||
!~/AppData/Local/vcpkg/downloads/tools # Cache the tools once as archives, but not redundantly in extracted form.
|
!~/AppData/Local/vcpkg/downloads/tools
|
||||||
key: ${{ steps.vcpkg-downloads-cache.outputs.cache-primary-key }}
|
key: ${{ steps.vcpkg-downloads-cache.outputs.cache-primary-key }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
Reference in New Issue
Block a user