Skip to content

Commit

Permalink
Update build-windows-solution.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
omarcopires committed Feb 21, 2024
1 parent 140c356 commit fc28616
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/build-windows-solution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,19 @@ jobs:
- name: Checkout repository
uses: actions/checkout@main

- name: Install vcpkg
- name: Restore artifacts and install vcpkg

Check failure on line 54 in .github/workflows/build-windows-solution.yml

View workflow job for this annotation

GitHub Actions / yamllint

[yamllint] reported by reviewdog 🐶 [error] syntax error: expected <block end>, but found '<block sequence start>' (syntax) Raw Output: ./.github/workflows/build-windows-solution.yml:54:8: [error] syntax error: expected <block end>, but found '<block sequence start>' (syntax)
id: vcpkg-step

Check failure on line 55 in .github/workflows/build-windows-solution.yml

View workflow job for this annotation

GitHub Actions / yamllint

[yamllint] reported by reviewdog 🐶 [error] wrong indentation: expected 9 but found 8 (indentation) Raw Output: ./.github/workflows/build-windows-solution.yml:55:9: [error] wrong indentation: expected 9 but found 8 (indentation)
run: |
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.bat
./vcpkg integrate install
$json=Get-Content vcpkg.json -Raw | ConvertFrom-Json
$vcpkgCommitId=$json.'builtin-baseline'
Write-Host "vcpkg commit ID: $vcpkgCommitId"
echo "VCPKG_GIT_COMMIT_ID=$vcpkgCommitId" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: Get vcpkg commit id from vcpkg.json
uses: lukka/run-vcpkg@main
with:
vcpkgGitURL: "https://github.com/microsoft/vcpkg.git"
vcpkgGitCommitId: ${{ env.VCPKG_GIT_COMMIT_ID }}

- name: Print useful paths
run: |
Expand Down

0 comments on commit fc28616

Please sign in to comment.