Skip to content

Commit

Permalink
Fix vcpkg download failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
ni4 committed Oct 5, 2024
1 parent 508256c commit d7900a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/windows-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ jobs:
run: |
dir_u=$(cygpath -u ${{ env.VCPKG_DIR }})
echo "VCPKG_DIR_U=$dir_u" >> $GITHUB_ENV
# See https://github.com/microsoft/vcpkg/issues/41339#issuecomment-2394308597 for lines below.
export SystemDrive="$SYSTEMDRIVE"
export SystemRoot="$SYSTEMROOT"
export windir="$WINDIR"
vcpkg install --triplet ${{ matrix.arch.triplet }} bzip2 zlib json-c getopt dirent ${{ matrix.backend }}
- name: Upload vcpkg logs on failure
Expand Down

0 comments on commit d7900a5

Please sign in to comment.