gh-actions-lua
gh-actions-lua copied to clipboard
Latest OpenResty fails to compile on windows
The latest version of openresty fails to compile on windows. This is due to the Makefile expecting the shell to be cmd on windows, but gh-actions-lua currently sets it to bash, resulting in the following error:
HOSTLINK host/minilua.exe
VERSION luajit.h
DYNASM host/buildvm_arch.h
/usr/bin/bash: -c: line 1: syntax error near unexpected token `('
/usr/bin/bash: -c: line 1: `if exist ..\.git ( git show -s --format=%%ct >luajit_relver.txt ) else ( type ..\.relver >luajit_relver.txt )'
make[1]: *** [Makefile:677: luajit.h] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory 'D:/a/_temp/.lua-build/luajit2/src'
make: *** [Makefile:125: default] Error 2
Error: Failed to install Lua: Error: The process 'C:\mingw64\bin\make.exe' failed with exit code 2