leafo / gh-actions-lua

GitHub action for Lua/LuaJIT
85 stars 27 forks source link

LuaJIT.org 404 when downloading tarball #49

Open benwilber opened 3 months ago

benwilber commented 3 months ago

It appears that LuaJIT.org has stopped publishing release tarballs on their website.

No Release Tarballs or Binaries LuaJIT uses rolling releases. There are no release tarballs available for download.

Please do not use obsolete versions from older tarballs or zip files. Please remove any outdated links to these downloads — these links will cease to work soon.

See: https://github.com/leafo/gh-actions-lua/blob/master/main.js#L89

In the meantime, I've just switched to testing against OpenResty's LuaJIT distribution.

harrisoncramer commented 3 months ago

Hey Ben, what's the fix you went with to solve this? I've got this in my actions file, is there an easy fix or can you recommend an alternative action?

      - name: Install luajit
        uses: leafo/gh-actions-lua@v10
        with:
          luaVersion: "luajit-2.1.0-beta3"
benwilber commented 3 months ago

@harrisoncramer

I just changed my workflow to use OpenResty's LuaJIT distribution. It's the same as the standard LuaJIT, which is based on Lua 5.1, except they've back-ported a few things from Lua 5.2 as well.

Just change your luaVersion to luajit-openresty.