Codefix: [CI] Store vcpkg outside the repository folder (#12271)

Otherwise tools like CodeQL can pick up on vcpkg files.
This commit is contained in:
Patric Stout
2024-03-11 19:53:09 +01:00
committed by GitHub
parent c768f4fc7a
commit d7b99cbe26
6 changed files with 22 additions and 22 deletions

View File

@@ -33,8 +33,8 @@ jobs:
- name: Install vcpkg
run: |
git clone https://github.com/microsoft/vcpkg
.\vcpkg\bootstrap-vcpkg.bat -disableMetrics
git clone https://github.com/microsoft/vcpkg ${{ runner.temp }}\vcpkg
${{ runner.temp }}\vcpkg\bootstrap-vcpkg.bat -disableMetrics
- name: Install OpenGFX
shell: bash
@@ -72,7 +72,7 @@ jobs:
cmake .. \
-GNinja \
-DVCPKG_TARGET_TRIPLET=${{ inputs.arch }}-windows-static \
-DCMAKE_TOOLCHAIN_FILE="${GITHUB_WORKSPACE}\vcpkg\scripts\buildsystems\vcpkg.cmake" \
-DCMAKE_TOOLCHAIN_FILE="${{ runner.temp }}\vcpkg\scripts\buildsystems\vcpkg.cmake" \
# EOF
echo "::endgroup::"