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 d4084e2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 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: echo $(git rev-parse HEAD)

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

Expand Down Expand Up @@ -81,11 +84,14 @@ jobs:
echo "::error Unknown architecture/build-type triplet mapping"
}
- name: Get latest vcpkg commit hash
run: echo "VCPKG_COMMIT_ID=$(git rev-parse HEAD | awk '{print $1}')" >> $GITHUB_ENV

- 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 d4084e2

Please sign in to comment.