gh-actions-luarocks
gh-actions-luarocks copied to clipboard
Final env includes old version of luasocket, which is inoperable with Lua 5.4.4
I've been looking at the code trying to find what to bump, and I'm absolutely mystified.
When I install Lua with leafo/gh-actions-lua and LuaRocks with this action, I end up with an old version of LuaSocket which will not play nice with Lua 5.4.4. A new version has been released that does work, but I can't figure out where this install is even ending up with it at all!
https://github.com/leafo/gh-actions-luarocks/blob/bbcb76206198464b68964b219533403c7825492a/main.js#L55
Looking at the upstream LuaRocks ./configure I don't see where it is bootstrapping LuaSocket either. All I know is that in desperately needs bumping somewhere and if you have any idea where ... then my CI jobs will thank you.
In the logs, can you see it installing the requested version of LuaSocket? Or does it skip installing LuaSocket because it sees a version already installed?
This might be a cache issue! The demo I tried works, but it is copy/paste from a real project that fails (minus some irrelevant stuff). I'm still trying to make heads or tails of this...