docs(calculate-version): 重整 action 與 workflow 文件
CI / 1. BUILD (pull_request) Successful in 1s
CI / 2. TEST (pull_request) Successful in 3s
CI / 3. RESULT (pull_request) Successful in 2s

This commit is contained in:
2026-07-11 13:15:21 +00:00
parent c8fe088e42
commit fa4f7cd50b
7 changed files with 155 additions and 33 deletions
+4 -2
View File
@@ -1,9 +1,11 @@
#!/bin/sh
# --------------------------------------------------
# 用途:啟動 calculate-version action,將所有參數交給 Node 主程式。
# 更新日期:2026/07/11 17:44:33Asia/Taipei
# 用途:啟動 calculate-version action將所有參數直接轉交給 Node 主程式。
# 更新日期:2026/07/11 21:08:44Asia/Taipei
# --------------------------------------------------
# 啟用嚴格模式,讓未定義變數與任一命令失敗都能立即中止流程。
set -eu
# 直接以 exec 取代 shell 行程,避免多一層 shell 包裝,並把所有參數原封不動傳給 Node。
exec node /action/src/index.js "$@"