Skip to content

Commit 77f4edc

Browse files
committed
New Windows 22 build
1 parent 0a64183 commit 77f4edc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858

5959
build_luac_cross_win:
6060

61-
runs-on: windows-2019
61+
runs-on: windows-2022
6262

6363
steps:
6464
- uses: actions/checkout@v4
@@ -67,9 +67,10 @@ jobs:
6767
- name: Build luac.cross.exe
6868
run: |
6969
set
70-
"%programfiles%\git\usr\bin\xargs"
70+
"C:\msys64\usr\bin\xargs.exe"
7171
cd msvc
72-
"%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\msbuild.exe" /p:Configuration=Release /p:Platform=x64
72+
"%programfiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe
73+
"%programfiles(x86)%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe" /p:Configuration=Release /p:Platform=x64
7374
mv luac-cross/x64/Release/luac.cross.exe ..
7475
shell: cmd
7576
- name: Upload luac.cross

0 commit comments

Comments
 (0)