From faefd68864d1e724557ed24f53b7e1204d2c7359 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Mon, 15 Jun 2026 03:34:06 +0000 Subject: [PATCH] revert 7d563c725d937ca706265209666fab4d15cd8302 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit revert 更新 entrypoint.sh --- entrypoint.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index a92d76e..cd75246 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -30,14 +30,6 @@ require_env() { } write_output() { - # 1. 先抽取 $GITHUB_OUTPUT 檔案的父目錄路徑 - local output_dir - output_dir="$(dirname "$GITHUB_OUTPUT")" - - # 2. 強制建立該目錄(若不存在),避免 1.0.8 沙盒隔離導致路徑遺失 - mkdir -p "$output_dir" - - # 3. 安全地寫入變數 printf 'version=%s\n' "$1" >> "$GITHUB_OUTPUT" }