diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 26969eb..bd798e3 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -46,10 +46,6 @@ jobs: sudo mv /tmp/just/just /usr/local/bin/ rm -rf /tmp/just - - name: Add Lux bin to PATH - if: ${{ steps.release.outputs.release_created }} - run: echo "$HOME/.lux/5.4/bin" >> "$GITHUB_PATH" - - name: Build Executable if: ${{ steps.release.outputs.release_created }} env: diff --git a/justfile b/justfile index 1ebafd5..5607d8e 100644 --- a/justfile +++ b/justfile @@ -153,7 +153,7 @@ build-system: prep [private] compile: @echo "Compiling standalone binary..." - cd lua && luastatic ../bin/spin.lua \ + cd lua && lx --lua-version {{ lua_version }} exec -- luastatic ../bin/spin.lua \ roda/init.lua roda/spinners.lua roda/ansi.lua roda/symbols.lua roda/util.lua roda/argp.lua \ ../{{ build_dir / 'libluv.a' }} ../{{ build_dir / 'libuv.a' }} ../{{ build_dir / 'libsystem.a' }} {{ lua_lib }} \ -I{{ lua_include }} && \