From 8eb1c2721bc4c6b6f1479fd45c33d9f002207878 Mon Sep 17 00:00:00 2001 From: TJ Kolleh Date: Sun, 5 Apr 2026 00:18:15 -0400 Subject: [PATCH] fix(ci): use $GITHUB_PATH for lux bin in release workflow The Build Executable step was failing with 'just: command not found' because the env: PATH override replaced the entire system PATH with a broken literal string (env.HOME is empty, ${PATH} is not expanded). Use $GITHUB_PATH to add the lux bin directory for all subsequent steps instead of overriding PATH in the env: block. This is the idiomatic GitHub Actions approach for PATH manipulation. --- .github/workflows/release-please.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index d9b39eb..26969eb 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -46,15 +46,17 @@ 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: LUA_VERSION: "5.4" LUA_PREFIX: "/usr" LUA_LIB: "/usr/lib/x86_64-linux-gnu/liblua5.4.a" - PATH: "${{ env.HOME }}/.lux/5.4/bin:${PATH}" run: | - export PATH="$HOME/.lux/5.4/bin:$PATH" just build sha256sum roda > roda.sha256