改用 workflow 條件檢查版本輸出 #9

Merged
admin merged 1 commits from develop into master 2026-06-25 16:23:21 +00:00
Member

變更摘要

  • 將版本輸出防呆改為 Gitea workflow step-level if: 條件。
  • steps.version-calculate.outputs.version 有值時才執行 組合釋出參數,並輸出 release name 與 tag name。
  • version 為空時改由 檢查版本號輸出 step 直接失敗,避免產生只有 v 的錯誤標籤。

影響範圍

  • action.yml:影響釋出參數組合與版本輸出異常時的失敗流程。

Commit

  • 8704422 fix(action.yml): 改用 workflow 條件檢查版本輸出

風險與注意事項

  • 依賴 Gitea Actions 對 step-level if:steps.<id>.outputs.* 的支援。
  • 若版本計算 action 未輸出 version,流程會在釋出前停止,方便從 版本號計算 step log 追查原因。
## 變更摘要 - 將版本輸出防呆改為 Gitea workflow step-level `if:` 條件。 - `steps.version-calculate.outputs.version` 有值時才執行 `組合釋出參數`,並輸出 release name 與 tag name。 - `version` 為空時改由 `檢查版本號輸出` step 直接失敗,避免產生只有 `v` 的錯誤標籤。 ## 影響範圍 - `action.yml`:影響釋出參數組合與版本輸出異常時的失敗流程。 ## Commit - `8704422` `fix(action.yml): 改用 workflow 條件檢查版本輸出` ## 風險與注意事項 - 依賴 Gitea Actions 對 step-level `if:` 與 `steps.<id>.outputs.*` 的支援。 - 若版本計算 action 未輸出 `version`,流程會在釋出前停止,方便從 `版本號計算` step log 追查原因。
jiantw83 added 1 commit 2026-06-25 16:22:38 +00:00
admin approved these changes 2026-06-25 16:23:18 +00:00
admin merged commit b4a8fa5795 into master 2026-06-25 16:23:21 +00:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: old-composite-actions/release-tag-version#9