Skip to content

Update GitHub Actions to install LuaFileSystem #4

Update GitHub Actions to install LuaFileSystem

Update GitHub Actions to install LuaFileSystem #4

Workflow file for this run

on: [push, pull_request]
name: build
jobs:
lunarml:
name: Build
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install lua5.3
docker pull ghcr.io/minoki/lunarml:0.2.0
- name: Install LuaFileSystem
run: |
curl -LO "https://github.com/lunarmodules/luafilesystem/archive/refs/tags/v1_8_0.tar.gz"
tar xf v1_8_0.tar.gz
cd luafilesystem-1_8_0
make LUA_VERSION=5.3
sudo make LUA_VERSION=5.3 install
- name: Build
run: |
make lunarml="docker run --rm --platform linux/amd64 -v \"$(pwd)\":/work -w /work ghcr.io/minoki/lunarml:0.2.0 lunarml"
- name: Show version
run: make check-version
- name: Archive
run: make archive
- name: Upload
uses: actions/upload-artifact@v4
with:
name: archive
path: |
cluttex-*.tar.gz
cluttex-*.zip