File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,13 @@ name: Upload Python Package to PyPI
10
10
11
11
on :
12
12
workflow_dispatch :
13
- inputs :
14
- isTest :
15
- description : Should the package be pushed to TestPyPI?
16
- type : boolean
17
- required : false
18
- default : false
13
+ # Right now, boolean inputs are broken. this can be reenabled when this is fixed
14
+ # inputs:
15
+ # isTest:
16
+ # description: Should the package be pushed to TestPyPI?
17
+ # type: boolean
18
+ # required: false
19
+ # default: false
19
20
20
21
jobs :
21
22
build-and-publish :
47
48
with :
48
49
password : ${{ secrets.TEST_PYPI_API_TOKEN }}
49
50
repository_url : https://test.pypi.org/legacy/
50
- - name : Publish distribution to PyPI
51
- if : ${{ !github.event.inputs.isTest }} && startsWith(github.ref, 'refs/tags')
52
- uses : pypa/gh-action-pypi-publish@master
53
- with :
54
- password : ${{ secrets.PYPI_API_TOKEN }}
51
+ # Enable when ready to publish straight to PyPI
52
+ # - name: Publish distribution to PyPI
53
+ # if: ${{ !github.event.inputs.isTest }} && startsWith(github.ref, 'refs/tags')
54
+ # uses: pypa/gh-action-pypi-publish@master
55
+ # with:
56
+ # password: ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments