diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5aa8ae7b7172d7..62d93ef1e5f580 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,15 +74,17 @@ jobs: # Cache the vcpkg executable to avoid bootstrapping each time - name: "Setup vcpkg executable cache" + id: cache-vcpkg-exe uses: actions/cache@v3 with: path: | - ${{ matrix.vcpkg_path }}/vcpkg${{ matrix.exe_suffix }} - ${{ matrix.vcpkg_path }}/downloads/tools + vcpkg${{ matrix.exe_suffix }} + 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 }} key: vcpkg-tool-${{ matrix.vcpkg_host_triplet }} + working-directory: ${{ matrix.vcpkg_path }} - name: Bootstrap vcpkg run: ${{ matrix.vcpkg_bootstrap }}