Skip to content

Commit

Permalink
update lukka/run-vcpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Jan 13, 2024
1 parent 4ca62ab commit a5fbaa9
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,11 @@ jobs:
with:
submodules: true

- name: "(vcpkg only) Setup cache key"
if: ${{ matrix.package_manager == 'vcpkg' }}
run: |
export PACKAGES=$($GITHUB_WORKSPACE/scripts/install_prerequisites.sh -l -m ${{matrix.package_manager}} all)
echo "PACKAGES=$PACKAGES" >> $GITHUB_ENV
- name: "(vcpkg only) Restore any cached ports"
uses: lukka/run-vcpkg@v6
uses: lukka/run-vcpkg@v11
if: ${{ matrix.package_manager == 'vcpkg' }}
with:
setupOnly: true
vcpkgDirectory: '${{github.workspace}}/scripts/vcpkg'
appendedCacheKey: '${{env.PACKAGES}}'
vcpkgTriplet: x64-windows

- name: "(vcpkg only) Setup CMake Toolchain file"
if: ${{ matrix.package_manager == 'vcpkg' }}
Expand Down

0 comments on commit a5fbaa9

Please sign in to comment.