Gitea Actions 的 bash shell 預設啟用 set -eo pipefail。 tar 的 exit 1 (file changed as we read it) 是警告非錯誤, 但 pipefail 會讓它變成管線失敗,set -e 立即中斷腳本。 修復:在 tar 管線前暫時 set +o pipefail, 手動檢查 PIPESTATUS 後再恢復 set -o pipefail。 |
||
|---|---|---|
| .. | ||
| workflows | ||
Gitea Actions 的 bash shell 預設啟用 set -eo pipefail。 tar 的 exit 1 (file changed as we read it) 是警告非錯誤, 但 pipefail 會讓它變成管線失敗,set -e 立即中斷腳本。 修復:在 tar 管線前暫時 set +o pipefail, 手動檢查 PIPESTATUS 後再恢復 set -o pipefail。 |
||
|---|---|---|
| .. | ||
| workflows | ||