添加 Liteyuki Python 包发布操作,包含必要的输入和输出配置
This commit is contained in:
commit
7534a7d14e
27
action.yml
Normal file
27
action.yml
Normal file
@ -0,0 +1,27 @@
|
||||
name: 'liteyuki-pypi'
|
||||
description: 'Publish your Python package to Liteyuki Registry'
|
||||
author: 'LiteyukiStudio'
|
||||
|
||||
inputs:
|
||||
owner:
|
||||
description: 'The owner of the repository.'
|
||||
required: true
|
||||
username:
|
||||
description: 'Your Gitea username for authentication.'
|
||||
required: true
|
||||
token:
|
||||
description: 'Your Gitea token for authentication.'
|
||||
required: true
|
||||
endpoint:
|
||||
description: 'The endpoint of the Gitea server.'
|
||||
required: false
|
||||
default: 'https://git.liteyuki.icu/api/packages/{owner}/pypi'
|
||||
|
||||
outputs:
|
||||
result:
|
||||
description: 'action-demo'
|
||||
|
||||
runs:
|
||||
using: node16
|
||||
main: 'dist/index.js'
|
||||
|
12
package.json
Normal file
12
package.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "liteyuki-pypi",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user