Skip to content

Commit

Permalink
test of workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarques1995 committed Jan 30, 2025
1 parent ff42cd0 commit ba9c800
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/bvt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
build_type: [x64-Release]
arch: [amd64]

env:
VCPKG_COMMIT_ID: $(git rev-parse HEAD)

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

Expand Down Expand Up @@ -81,11 +84,16 @@ jobs:
echo "::error Unknown architecture/build-type triplet mapping"
}
- name: Set environment variable inline
env:
VCPKG_COMMIT_ID: $(git ls-remote https://github.com/microsoft/vcpkg.git HEAD | awk '{print $1}')
run: echo "Latest vcpkg commit: $VCPKG_COMMIT_ID"

- uses: lukka/run-vcpkg@7d259227a1fb6471a0253dd5ab7419835228f7d7 # v11
with:
runVcpkgInstall: true
vcpkgJsonGlob: '**/build/vcpkg.json'
vcpkgGitCommitId: '${{ vars.VCPKG_COMMIT_ID }}'
vcpkgGitCommitId: '${{ env.VCPKG_COMMIT_ID }}'

- name: 'Configure CMake'
working-directory: ${{ github.workspace }}
Expand Down

0 comments on commit ba9c800

Please sign in to comment.