gh-actions-lua icon indicating copy to clipboard operation
gh-actions-lua copied to clipboard

LuaJIT.org 404 when downloading tarball

Open benwilber opened this issue 1 year ago • 2 comments

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.

benwilber avatar Aug 17 '24 14:08 benwilber

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"

harrisoncramer avatar Aug 18 '24 00:08 harrisoncramer

@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.

benwilber avatar Aug 18 '24 02:08 benwilber

Fixed in latest version 11

leafo avatar Feb 27 '25 21:02 leafo