Merge bitcoin/bitcoin#35349: ci: Fix path input for vcpkg downloads cache

e4f1e43103 ci: Fix `path` input for vcpkg downloads cache (Hennadii Stepanov)

Pull request description:

  This PR amends https://github.com/bitcoin/bitcoin/pull/35024 and addresses [this](https://github.com/bitcoin/bitcoin/pull/35024#issuecomment-4510880609) comment.

ACKs for top commit:
  maflcko:
    lgtm ACK e4f1e43103
  willcl-ark:
    ACK e4f1e43103

Tree-SHA512: 316923ba7b2552dce97ecfecf500a72baf5a573f8315a052a4b0072fb2673fc71aed72fbc69127ebeace493b209751421ccd007444b26db5f3531ea0ad1bf520
This commit is contained in:
Hennadii Stepanov
2026-05-22 08:33:19 +01:00

View File

@@ -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.
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:
# Cache the tools once as archives, but not redundantly in extracted form.
path: |
~/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 }}
- name: Build