Skip to content

Commit 7c4e364

Browse files
ci: run deslop binary by path (fix exit 127)
GITHUB_PATH only updates PATH for subsequent steps, so a bare `deslop` in the same step was not found (exit 127). Invoke the extracted binary directly.
1 parent 6be8405 commit 7c4e364

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ jobs:
8080
DESLOP_VERSION: "0.5.1" # pin — see https://github.com/Nimblesite/Deslop/releases
8181
run: |
8282
curl -sSfL "https://github.com/Nimblesite/Deslop/releases/download/v${DESLOP_VERSION}/deslop-${DESLOP_VERSION}-linux-x64.tar.gz" | tar -xz
83-
echo "$PWD/deslop-${DESLOP_VERSION}-linux-x64" >> "$GITHUB_PATH"
84-
deslop .
83+
# Run the binary by path: GITHUB_PATH only affects *later* steps, so a
84+
# bare `deslop` here is not yet on PATH (exit 127).
85+
"$PWD/deslop-${DESLOP_VERSION}-linux-x64/deslop" .
8586
8687
test:
8788
name: Test

0 commit comments

Comments
 (0)