forked from pypa/gh-action-pypi-publish
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
51 lines (51 loc) · 1.23 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
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
packages_dir:
description: The target directory for distribution
required: false
default: dist
verify_metadata:
description: Check metadata before uploading
required: false
default: true
skip_existing:
description: >-
Do not fail if a Python package distribution
exists in the target package index
required: false
default: false
verbose:
description: Show verbose output.
required: false
default: false
print_hash:
description: Show hash values of files to be uploaded
required: false
default: false
branding:
color: yellow
icon: upload-cloud
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.user }}
- ${{ inputs.password }}
- ${{ inputs.repository_url }}
- ${{ inputs.packages_dir }}
- ${{ inputs.verify_metadata }}
- ${{ inputs.skip_existing }}
- ${{ inputs.verbose }}
- ${{ inputs.print_hash }}