Skip to content

Commit 676502f

Browse files
committed
Another attempt
1 parent 648d7ce commit 676502f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ jobs:
4848

4949
- uses: lukka/get-cmake@latest
5050

51+
# Setup MSVC command prompt environment vars.
52+
# We must do this before sedtting up our local vcpkg,
53+
# Because it will set VCPKG_ROOT to point to some global
54+
# install of vcpkg, and we don't want that
55+
- uses: ilammy/msvc-dev-cmd@v1
56+
5157
- name: Setup local vcpkg
5258
run: |
5359
git clone https://github.com/microsoft/vcpkg.git "${{ env.VCPKG_ROOT }}"
@@ -62,12 +68,6 @@ jobs:
6268
run: git config --global --add safe.directory '*'
6369
shell: cmd
6470

65-
# Setup MSVC command prompt environment vars.
66-
# We must do this before sedtting up our local vcpkg,
67-
# Because it will set VCPKG_ROOT to point to some global
68-
# install of vcpkg, and we don't want that
69-
- uses: ilammy/msvc-dev-cmd@v1
70-
7171
- name: vcpkg check / install dependencies
7272
working-directory: '${{ github.workspace }}'
7373
run: '"${{env.VCPKG_ROOT}}\vcpkg" install --triplet=x64-windows'

0 commit comments

Comments
 (0)