Skip to content

Commit

Permalink
sample action
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarques1995 committed Jan 30, 2025
1 parent ff42cd0 commit 4c7d4de
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/bvt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,17 @@ jobs:
echo "::error Unknown architecture/build-type triplet mapping"
}
- name: Clone vcpkg and get latest baseline
shell: pwsh
run: |
git clone https://github.com/microsoft/vcpkg.git ${{ runner.workspace }}/vcpkg
Set-Location ${{ runner.workspace }}/vcpkg
$VCPKG_COMMIT_ID= (git rev-parse HEAD) # Get latest commit ID
Write-Host ${{ runner.workspace }}
Set-Location ${{ github.workspace }}
ls
(Get-Content vcpkg.json) -replace '"builtin-baseline": ".*"', '"builtin-baseline": "' + $VCPKG_COMMIT_ID + '"' | Set-Content vcpkg.json
- uses: lukka/run-vcpkg@7d259227a1fb6471a0253dd5ab7419835228f7d7 # v11
with:
runVcpkgInstall: true
Expand Down

0 comments on commit 4c7d4de

Please sign in to comment.