In GitHub Actions, the best workaround was to build luarocks from source.
```yaml
      - if: runner.os == 'Linux' && matrix.lua-version == '5.5'
        env:
          LUAROCKS_VERSION: 3.13.0
        run: |
          curl 
https://luarocks.github.io/luarocks/releases/luarocks-${LUAROCKS_VERSION}.tar.gz
 | tar xz
          cd luarocks-${LUAROCKS_VERSION}
          ./configure --with-lua-include=/usr/include/lua5.5
          make build
          sudo make install
          luarocks --lua-version=5.5 config | grep INC  # --> 
"/usr/include/lua5.5", true
```

Reply via email to