From 1be07cc0c58f304a4a93a313f59f7670ba786b0f Mon Sep 17 00:00:00 2001 From: wonder Date: Wed, 27 May 2026 13:29:29 +0800 Subject: [PATCH] fix: symlink node to /usr/bin for act runner post-step 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 --- .gitea/workflows/deploy.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 8fb689c..96484c3 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -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