Skip to content

Commit dc3b026

Browse files
committed
[.github/workflows/github-actions.yml] Pass deps one at a time to vcpkg
1 parent 8c220c7 commit dc3b026

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/github-actions.yml

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

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

6060
- name: Install vcpkg ports (macOS, Linux)
61-
run: ./vcpkg/vcpkg install --classic "$(jq '.dependencies[] | select(type == "string")' vcpkg.json)"
61+
run: jq '.dependencies[] | select(type == "string")' vcpkg.json | xargs ./vcpkg/vcpkg install --classic
6262
if: matrix.os != 'windows-latest' && steps.cache-vcpkg.outputs.cache-hit != 'true'
6363

6464
- name: configure (with vcpkg on Windows)

0 commit comments

Comments
 (0)