2019-08-21 04:48:52 +08:00
|
|
|
---
|
|
|
|
name: pypi-publish
|
|
|
|
description: Upload Python distribution packages to PyPI
|
|
|
|
inputs:
|
|
|
|
user:
|
|
|
|
description: PyPI user
|
|
|
|
required: false
|
|
|
|
default: __token__
|
|
|
|
password:
|
|
|
|
description: Password for your PyPI user or an access token
|
|
|
|
required: true
|
|
|
|
repository_url:
|
|
|
|
description: The repository URL to use
|
|
|
|
required: false
|
2019-12-07 07:09:41 +08:00
|
|
|
packages_dir:
|
2019-12-06 07:25:02 +08:00
|
|
|
description: The target directory for distribution
|
|
|
|
required: false
|
|
|
|
default: dist
|
2020-06-02 23:08:43 +08:00
|
|
|
check:
|
|
|
|
description: Check before uploading
|
|
|
|
required: false
|
|
|
|
default: true
|
2019-08-21 04:48:52 +08:00
|
|
|
branding:
|
|
|
|
color: yellow
|
|
|
|
icon: upload-cloud
|
|
|
|
runs:
|
|
|
|
using: docker
|
|
|
|
image: Dockerfile
|
|
|
|
args:
|
2019-08-23 19:11:24 +08:00
|
|
|
- ${{ inputs.user }}
|
|
|
|
- ${{ inputs.password }}
|
|
|
|
- ${{ inputs.repository_url }}
|
2019-12-07 07:09:41 +08:00
|
|
|
- ${{ inputs.packages_dir }}
|
2020-06-02 23:08:43 +08:00
|
|
|
- ${{ inputs.check }}
|