Compare commits
2 Commits
376ac52fee
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| ae841efc86 | |||
| 2c760552e7 |
13
README.md
Normal file
13
README.md
Normal 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/*
|
||||||
|
```
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user