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
|
2023-03-11 08:18:41 +08:00
|
|
|
repository-url: # Canonical alias for `repository_url`
|
2019-08-21 04:48:52 +08:00
|
|
|
description: The repository URL to use
|
|
|
|
required: false
|
2023-03-11 08:18:41 +08:00
|
|
|
repository_url: # DEPRECATED ALIAS; TODO: Remove in v3+
|
|
|
|
description: >-
|
|
|
|
[DEPRECATED]
|
|
|
|
The repository URL to use
|
|
|
|
deprecationMessage: >-
|
|
|
|
The inputs have been normalized to use kebab-case.
|
|
|
|
Use `repository-url` instead.
|
|
|
|
required: false
|
|
|
|
packages-dir: # Canonical alias for `packages_dir`
|
2019-12-06 07:25:02 +08:00
|
|
|
description: The target directory for distribution
|
|
|
|
required: false
|
|
|
|
default: dist
|
2023-03-11 08:18:41 +08:00
|
|
|
packages_dir: # DEPRECATED ALIAS; TODO: Remove in v3+
|
|
|
|
description: >-
|
|
|
|
[DEPRECATED]
|
|
|
|
The target directory for distribution
|
|
|
|
deprecationMessage: >-
|
|
|
|
The inputs have been normalized to use kebab-case.
|
|
|
|
Use `packages-dir` instead.
|
|
|
|
required: false
|
|
|
|
default: dist
|
|
|
|
verify-metadata: # Canonical alias for `verify_metadata`
|
2020-06-03 23:04:52 +08:00
|
|
|
description: Check metadata before uploading
|
2020-06-02 23:08:43 +08:00
|
|
|
required: false
|
2022-12-07 04:44:04 +08:00
|
|
|
default: 'true'
|
2023-03-11 08:18:41 +08:00
|
|
|
verify_metadata: # DEPRECATED ALIAS; TODO: Remove in v3+
|
|
|
|
description: >-
|
|
|
|
[DEPRECATED]
|
|
|
|
Check metadata before uploading
|
|
|
|
deprecationMessage: >-
|
|
|
|
The inputs have been normalized to use kebab-case.
|
|
|
|
Use `verify-metadata` instead.
|
|
|
|
required: false
|
|
|
|
default: 'true'
|
|
|
|
skip-existing: # Canonical alias for `skip_existing`
|
2020-06-20 03:30:53 +08:00
|
|
|
description: >-
|
|
|
|
Do not fail if a Python package distribution
|
|
|
|
exists in the target package index
|
|
|
|
required: false
|
2022-12-07 04:44:04 +08:00
|
|
|
default: 'false'
|
2023-03-11 08:18:41 +08:00
|
|
|
skip_existing: # DEPRECATED ALIAS; TODO: Remove in v3+
|
|
|
|
description: >-
|
|
|
|
[DEPRECATED]
|
|
|
|
Do not fail if a Python package distribution
|
|
|
|
exists in the target package index
|
|
|
|
deprecationMessage: >-
|
|
|
|
The inputs have been normalized to use kebab-case.
|
|
|
|
Use `skip-existing` instead.
|
|
|
|
required: false
|
|
|
|
default: 'false'
|
2020-09-15 12:31:21 +08:00
|
|
|
verbose:
|
|
|
|
description: Show verbose output.
|
|
|
|
required: false
|
2022-12-07 04:44:04 +08:00
|
|
|
default: 'false'
|
2023-03-11 08:18:41 +08:00
|
|
|
print-hash: # Canonical alias for `print_hash`
|
2022-01-08 12:12:15 +08:00
|
|
|
description: Show hash values of files to be uploaded
|
2022-01-08 00:24:27 +08:00
|
|
|
required: false
|
2022-12-07 04:44:04 +08:00
|
|
|
default: 'false'
|
2023-03-11 08:18:41 +08:00
|
|
|
print_hash: # DEPRECATED ALIAS; TODO: Remove in v3+
|
|
|
|
description: >-
|
|
|
|
[DEPRECATED]
|
|
|
|
Show hash values of files to be uploaded
|
|
|
|
deprecationMessage: >-
|
|
|
|
The inputs have been normalized to use kebab-case.
|
|
|
|
Use `print-hash` instead.
|
|
|
|
required: false
|
|
|
|
default: 'false'
|
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 }}
|
2023-03-11 08:18:41 +08:00
|
|
|
- ${{ inputs.repository-url }}
|
|
|
|
- ${{ inputs.packages-dir }}
|
|
|
|
- ${{ inputs.verify-metadata }}
|
|
|
|
- ${{ inputs.skip-existing }}
|
2020-09-15 12:31:21 +08:00
|
|
|
- ${{ inputs.verbose }}
|
2023-03-11 08:18:41 +08:00
|
|
|
- ${{ inputs.print-hash }}
|