publish-releases-action/action.yml

24 lines
823 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: '创建发行版'
description: '在指定仓库创建发行版'
author: 'GitLink'
inputs:
domain:
description: '选填域名默认为http://172.20.32.201:4000/'
username:
description: '必填,对需要发行版本的仓库具备管理员权限的用户'
password:
description: '必填,用户名对应的密码'
repository:
description: '选填,仓库名,格式:拥有者/仓库标识例如tester/test为空则默认为当前流水线保存的仓库'
release_title:
description: '必填,发行版标题'
release_desc:
description: '选填,发行版描述'
tag_name:
description: '选填,标记,为空则自动生成'
sha:
description: '选填分支或者sha为空则为默认分支'
runs:
using: 'node20'
main: 'dist/index.js'