Skip to content

bug: CI breaks when trying to download LuaJIT from  #160

@mikyll

Description

@mikyll

Description

CI workflows include a step which uses leafo/gh-actions-lua to download LuaJIT from LuaJIT.org:

Anything starting with luajit- — from http://luajit.org/download.html

However, as stated on their website, LuaJIT.org doesn't serve tarballs anymore:

There are no release tarballs available for download.

Since build workflow is using luaVersion: "luajit" for some CI steps, the workflow fails because LuaJIT.org responds with 404:

image

Related issue: leafo/gh-actions-lua#49

Possible Fix

Change LuaJIT repository, for example to OpenResty: luajit-openresty

File .github/workflows/build.yml:

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        # Here change from "luajit" to "luajit-openresty"
        lua-version: ["5.1", "5.2", "5.3", "5.4", "luajit-openresty"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions