Files
2026-11-05 02:54:21 +00:00

16 lines
599 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: publish-go
description: "發佈(Docker action,bash+git+curl+python3):把 build-go 打包的模組 zip 上傳到 Gitea 的 Go 套件庫,成功才推送版本標籤。套件已存在(409)視為已上傳,接著推標籤"
inputs:
version:
description: 要發佈的版本,要和 build-go 的相同
required: true
zip:
description: build-go 輸出的模組 zip 路徑
required: true
token:
description: 推送標籤與上傳套件用的權杖(需要 write:repository、write:package)
required: true
runs:
using: docker
image: Dockerfile