mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-26 03:51:40 -05:00
fixup! Add a GitHub workflow to generate Git for Windows' Pacman package
Let's prepare for the `windows-2022` agents, which do not include older Visual Studio versions anymore. For details about those agents, see https://github.com/actions/virtual-environments/issues/4856. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
2
.github/workflows/git-artifacts.yml
vendored
2
.github/workflows/git-artifacts.yml
vendored
@@ -196,7 +196,7 @@ jobs:
|
||||
printf '#!/bin/sh\n\nexec /mingw64/bin/git.exe "$@"\n' >/usr/bin/git &&
|
||||
|
||||
# Restrict `PATH` to MSYS2 and to Visual Studio (to let `cv2pdb` find the relevant DLLs)
|
||||
PATH="/mingw64/bin:/usr/bin:/C/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin${{matrix.arch.bin}}:/C/Windows/system32"
|
||||
PATH="/mingw64/bin:/usr/bin:/c/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/:/C/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin${{matrix.arch.bin}}:/C/Windows/system32"
|
||||
|
||||
type -p mspdb140.dll || exit 1
|
||||
sh -x /usr/src/build-extra/please.sh build-mingw-w64-git --only-${{matrix.arch.bitness}}-bit --build-src-pkg -o artifacts HEAD &&
|
||||
|
||||
Reference in New Issue
Block a user