2019-08-20 16:48:52 -04: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-06 18:09:41 -05:00
|
|
|
packages_dir:
|
2019-12-05 18:25:02 -05:00
|
|
|
description: The target directory for distribution
|
|
|
|
required: false
|
|
|
|
default: dist
|
2020-06-03 11:04:52 -04:00
|
|
|
verify_metadata:
|
|
|
|
description: Check metadata before uploading
|
2020-06-02 11:08:43 -04:00
|
|
|
required: false
|
|
|
|
default: true
|
2020-06-19 15:30:53 -04:00
|
|
|
skip_existing:
|
|
|
|
description: >-
|
|
|
|
Do not fail if a Python package distribution
|
|
|
|
exists in the target package index
|
|
|
|
required: false
|
|
|
|
default: false
|
2020-09-15 00:31:21 -04:00
|
|
|
verbose:
|
|
|
|
description: Show verbose output.
|
|
|
|
required: false
|
|
|
|
default: false
|
2022-01-07 11:24:27 -05:00
|
|
|
print_hash:
|
2022-01-07 23:12:15 -05:00
|
|
|
description: Show hash values of files to be uploaded
|
2022-01-07 11:24:27 -05:00
|
|
|
required: false
|
|
|
|
default: false
|
2019-08-20 16:48:52 -04:00
|
|
|
branding:
|
|
|
|
color: yellow
|
|
|
|
icon: upload-cloud
|
|
|
|
runs:
|
|
|
|
using: docker
|
|
|
|
image: Dockerfile
|
|
|
|
args:
|
2019-08-23 07:11:24 -04:00
|
|
|
- ${{ inputs.user }}
|
|
|
|
- ${{ inputs.password }}
|
|
|
|
- ${{ inputs.repository_url }}
|
2019-12-06 18:09:41 -05:00
|
|
|
- ${{ inputs.packages_dir }}
|
2020-06-03 11:04:52 -04:00
|
|
|
- ${{ inputs.verify_metadata }}
|
2020-06-19 15:30:53 -04:00
|
|
|
- ${{ inputs.skip_existing }}
|
2020-09-15 00:31:21 -04:00
|
|
|
- ${{ inputs.verbose }}
|
2022-01-07 11:24:27 -05:00
|
|
|
- ${{ inputs.print_hash }}
|