File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 11name : Release
22on :
3- workflow_dispatch :
4- inputs :
5- pypi :
6- description : ' PyPI instance'
7- required : true
8- type : choice
9- default : ' production'
10- options :
11- - production
12- - testing
133 push :
144 branches : [ release ]
155
@@ -20,8 +10,6 @@ concurrency:
2010env :
2111 PYTHON_RUNTIME_VERSION : " 3.11"
2212 PYTHON_PACKAGE_NAME : netboxlabs-netbox-branching
23- PYPI_URL_PRODUCTION : " https://upload.pypi.org/legacy/"
24- PYPI_URL_TESTING : " https://test.pypi.org/legacy/"
2513
2614jobs :
2715 get-package-name :
@@ -106,12 +94,10 @@ jobs:
10694 - name : Publish release distributions to PyPI
10795 uses : pypa/gh-action-pypi-publish@release/v1
10896 with :
109- repository-url : ${{ github.event.inputs.pypi == 'production' && env.PYPI_URL_PRODUCTION || env.PYPI_URL_TESTING }}
11097 packages-dir : dist
11198 release :
11299 name : Release
113100 needs : [ get-next-version, get-release-notes, build ]
114- if : github.event.inputs.pypi == 'production'
115101 runs-on : ubuntu-latest
116102 timeout-minutes : 5
117103 steps :
You can’t perform that action at this time.
0 commit comments