fix: symlink node to /usr/bin for act runner post-step
Deploy Slides / build-and-deploy (push) Failing after 1s

GITHUB_PATH doesn't apply to post-step cleanup context. Symlink
node to /usr/bin so the runner can find it during cleanup.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-27 13:29:29 +08:00
parent c246b1058e
commit 1be07cc0c5
+3 -1
View File
@@ -10,7 +10,9 @@ jobs:
runs-on: aliyun
steps:
- name: Setup PATH
run: echo "/usr/local/bin" >> "$GITHUB_PATH"
run: |
NODE_BIN=$(which node)
ln -sf "$NODE_BIN" /usr/bin/node
- name: Checkout
uses: http://47.121.181.112:3000/wonder/checkout@v4