Skip to content

Commit

Permalink
Cache downloaded tools
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Nov 15, 2023
1 parent 967a372 commit 05710c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
vcpkg_triplet: x64-osx-min1015
vcpkg_host_triplet: x64-osx-min1015
vcpkg_overlay_ports: overlay/osx:overlay/ports
vcpkg_cache: /Users/runner/.cache/vcpkg/archives
check_disk_space: df -h
env:
VCPKG_DEFAULT_TRIPLET: ${{ matrix.vcpkg_triplet }}
Expand Down Expand Up @@ -77,7 +76,9 @@ jobs:
- name: "Setup vcpkg executable cache"
uses: actions/cache@v3
with:
path: ${{ matrix.vcpkg_path }}/vcpkg${{ matrix.exe_suffix }}
path: |
${{ matrix.vcpkg_path }}/vcpkg${{ matrix.exe_suffix }}
${{ matrix.vcpkg_path }}/downloads/tools
key: vcpkg-tool-${{ matrix.vcpkg_host_triplet }}-${{ github.ref }}-${{ github.run_number }}
restore-keys: |
key: vcpkg-tool-${{ matrix.vcpkg_host_triplet }}-${{ github.ref }}
Expand Down

0 comments on commit 05710c7

Please sign in to comment.