fix: add /usr/local/bin to PATH for act runner
Deploy Slides / build-and-deploy (push) Failing after 1s

The host has node installed but act runner shell steps don't include
it in PATH. Add it via GITHUB_PATH before checkout.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-27 13:27:58 +08:00
parent 4c9183e5ad
commit c246b1058e
+3
View File
@@ -9,6 +9,9 @@ jobs:
build-and-deploy: build-and-deploy:
runs-on: aliyun runs-on: aliyun
steps: steps:
- name: Setup PATH
run: echo "/usr/local/bin" >> "$GITHUB_PATH"
- name: Checkout - name: Checkout
uses: http://47.121.181.112:3000/wonder/checkout@v4 uses: http://47.121.181.112:3000/wonder/checkout@v4
with: with: