Skip to content

Commit

Permalink
add step to add VC variables into environment
Browse files Browse the repository at this point in the history
  • Loading branch information
nam20485 committed Oct 19, 2023
1 parent d6d99ff commit e846dc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ on:
env:
# Path to the CMake build directory.
build: '${{ github.workspace }}/build'
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
VCPKG_BINARY_SOURCES: 'clear;x-gha,readwrite'

permissions:
Expand All @@ -45,6 +44,9 @@ jobs:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
- name: Setup VC Tools
uses: ilammy/msvc-dev-cmd@v1

- name: Patch vcpkg
run: scripts/patch-vcpkg-install.ps1
Expand Down

0 comments on commit e846dc3

Please sign in to comment.