leafo / gh-actions-luarocks

GitHub action for installing LuaRocks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gh-actions-luarocks fails to install on Win

magneto538 opened this issue · comments

I'm setting up a workflow using gh-actions-luarocks v4.3.0 on a Win agent. When running the action, I'm getting the following:

Run leafo/gh-actions-luarocks@v4.3.0
  with:
    withLuaPath: c:/lua
    luaRocksVersion: 3.8.0
  
C:\Windows\system32\tar.exe xz -C D:\a\_temp\.build-luarocks -f D:\a\_temp\e4133d00-9090-4f3d-a1a6-012924f736b7
Error: Failed to install LuaRocks: Error: Unable to locate executable file: D:\a\_temp\.build-luarocks\luarocks-3.8.0\configure. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.

Notes:

  • I'm using a custom Lua path here, but the issue is present even without specifying any extra args.
  • I'm using 4.3.0 here, but v4 ref is also similarly broken.
  • specifying luaRocksVersion: "3.9.1" (latest release at the time of writing) raises the same error.
  • v3 reports the following error: Error: Failed to install LuaRocks: Error: There was an error when attempting to execute the process './configure'. This may indicate the process failed to start. Error: spawn ./configure ENOENT.

Still having the same issue. Any updates?

commented

There is a pull request for windows support that is not merged yet: #14

Up — any chance #14 could be reviewed and merged?