fix: symlink node to /usr/bin for act runner post-step
Deploy Slides / build-and-deploy (push) Failing after 1s
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:
@@ -10,7 +10,9 @@ jobs:
|
|||||||
runs-on: aliyun
|
runs-on: aliyun
|
||||||
steps:
|
steps:
|
||||||
- name: Setup PATH
|
- name: Setup PATH
|
||||||
run: echo "/usr/local/bin" >> "$GITHUB_PATH"
|
run: |
|
||||||
|
NODE_BIN=$(which node)
|
||||||
|
ln -sf "$NODE_BIN" /usr/bin/node
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: http://47.121.181.112:3000/wonder/checkout@v4
|
uses: http://47.121.181.112:3000/wonder/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user