-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
44 lines (42 loc) · 1.22 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
name: pypi-github-sync
description: "Sync a PyPI package with Github release"
author: Pablo Lecolinet
branding:
color: green
icon: send
inputs:
github_repo:
description: GitHub repo name with format USERNAME/REPO
required: true
twine_username:
description: Your PyPI username (use your GitHub repo secrets)
required: true
twine_password:
description: Your PyPI password (use your GitHub repo secrets)
required: true
upload_repo:
description: Repo to upload to with twine, defaults to main PyPI repo
required: false
verify_metadata:
description: Verify build metadata before publication, defaults to false
required: false
default: false
skip_existing:
description: Do not raise an error if version already exists on repo, defaults to false
required: false
default: false
verbose:
description: Verbose output for twine upload, defaults to false
required: false
default: false
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.github_repo }}
- ${{ inputs.twine_username }}
- ${{ inputs.twine_password }}
- ${{ inputs.upload_repo }}
- ${{ inputs.verify_metadata }}
- ${{ inputs.skip_existing }}
- ${{ inputs.verbose }}