File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ inputs:
26
26
tag_template :
27
27
description : The template for the git tag
28
28
default : " ${VERSION}"
29
+ repository-url :
30
+ description : The PyPI repository URL to use
31
+ default : https://upload.pypi.org/legacy/
29
32
token :
30
33
description : The GitHub access token
31
34
dry_run :
84
87
# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/#publishing-the-distribution-to-pypi
85
88
- name : Publish distribution 📦 to PyPI
86
89
if : inputs.dry_run == 'false'
87
- uses : pypa/gh-action-pypi-publish@release/v1
90
+ # Pinned due to https://github.com/pypa/gh-action-pypi-publish/issues/290
91
+
92
+ with :
93
+ repository-url : ${{ inputs.repository_url }}
88
94
- name : Do Not Publish distribution 📦 to PyPI on Dry Run
89
95
if : inputs.dry_run == 'true'
90
96
shell : bash
You can’t perform that action at this time.
0 commit comments