調整:Go 專用的 action 名稱加 -go 後綴
ci / test (push) Failing after 1m15s

This commit is contained in:
bot
2026-11-05 03:22:15 +00:00
parent b3b8498c3e
commit 27aba662ca
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -1,13 +1,13 @@
# release
# release-go
發佈流程的小步驟,`task` 選一個:`resolve-channel`(PR 來源與目標分支 → release/dev/none)、`next-version`(算下一版與是否跳過)、`deploy-version`(取得要部署的版本與提交)。
## 用法
版本由呼叫端的 Gitea Actions 變數決定(例如 `vars.ACTION_RELEASE_VERSION`),不要用分支名稱:runner 依 ref 重用舊映像檔,改了腳本不會生效,所以每次改動都發新標籤。
版本由呼叫端的 Gitea Actions 變數決定(例如 `vars.ACTION_RELEASE_GO_VERSION`),不要用分支名稱:runner 依 ref 重用舊映像檔,改了腳本不會生效,所以每次改動都發新標籤。
```yaml
- uses: https://gitea.jsc.idv.tw/actions/release@${{ vars.ACTION_RELEASE_VERSION }}
- uses: https://gitea.jsc.idv.tw/actions/release-go@${{ vars.ACTION_RELEASE_GO_VERSION }}
with:
task: ...
```
+1 -1
View File
@@ -1,4 +1,4 @@
name: release
name: release-go
description: "發佈流程的小步驟(Docker action,bash+git+curl):resolve-channel 依 PR 的來源與目標分支判斷通道、next-version 算下一版、deploy-version 取得要部署的版本。分支名稱、版本、token 都由呼叫端傳入。需要 actions/checkout(next-version、deploy-version 要 fetch-depth: 0)"
inputs:
task:
+1 -1
View File
@@ -1,3 +1,3 @@
module gitea.jsc.idv.tw/actions/release
module gitea.jsc.idv.tw/actions/release-go
go 1.27.1