Compare commits

..

2 Commits

2 changed files with 16 additions and 0 deletions

13
README.md Normal file
View File

@@ -0,0 +1,13 @@
# Publish your Python package to gitea software registry
## Usage
```yaml
- name: Publish Python Package to Gitea
uses: LiteyukiStudio/liteyuki-pypi
owner: LiteyukiStudio
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: token:
description: 'Your Gitea token for authentication.' description: 'Your Gitea token for authentication.'
required: true required: true
files:
description: 'The files to upload.'
required: true
endpoint: endpoint:
description: 'The endpoint of the Gitea server.' description: 'The endpoint of the Gitea server.'
required: false required: false