Skip to content

Commit a7d9e0e

Browse files
committed
[.github/workflows/github-actions.yml] Get vcpkg to install deps even if manifest found
1 parent 5e29e23 commit a7d9e0e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/github-actions.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,13 @@ jobs:
5454
if: matrix.os != 'windows-latest'
5555

5656
- name: Install vcpkg ports (Windows)
57-
run: ./vcpkg/vcpkg install --triplet "${{ runner.arch }}-${{ runner.os }}" "$(jq '.dependencies[] | select(type == "string")')"
57+
working-directory: ./vcpkg
58+
run: ./vcpkg install --classic --triplet "${{ runner.arch }}-${{ runner.os }}" "$(jq '.dependencies[] | select(type == "string")')"
5859
if: matrix.os == 'windows-latest' && steps.cache-vcpkg.outputs.cache-hit != 'true'
5960

6061
- name: Install vcpkg ports (macOS, Linux)
61-
run: ./vcpkg/vcpkg install "$(jq '.dependencies[] | select(type == "string")')"
62+
working-directory: ./build
63+
run: ./vcpkg install --classic "$(jq '.dependencies[] | select(type == "string")')"
6264
if: matrix.os != 'windows-latest' && steps.cache-vcpkg.outputs.cache-hit != 'true'
6365

6466
- name: configure (with vcpkg on Windows)

0 commit comments

Comments
 (0)