在 README 和 action.yml 中添加文件上传参数

This commit is contained in:
远野千束(神羽) 2024-12-20 02:41:21 +08:00
parent 2c760552e7
commit ae841efc86
2 changed files with 4 additions and 0 deletions

View File

@ -9,4 +9,5 @@
username: ${{ secrets.GITEA_USERNAME }}
token: ${{ secrets.GITEA_TOKEN }}
endpoint: https://git.liteyuki.icu/api/packages/{owner}/pypi # This is the default value
files: /path/to/files/*
```

View File

@ -12,6 +12,9 @@ inputs:
token:
description: 'Your Gitea token for authentication.'
required: true
files:
description: 'The files to upload.'
required: true
endpoint:
description: 'The endpoint of the Gitea server.'
required: false