File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change 11name : Release
22on :
3- push :
4- branches :
5- - release-workflow-refactor
3+ release :
4+ types : [published]
65
76jobs :
87 publish :
@@ -19,16 +18,11 @@ jobs:
1918 run : pip install twine
2019 - name : Build package
2120 run : python setup.py sdist
22- - name : Create Release
23- id : create_release
24- uses : actions/create-release@v1
25- env :
26- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27- # - name: Publish package to PyPI
28- # uses: pypa/gh-action-pypi-publish@v1.3.1
29- # with:
30- # user: __token__
31- # password: ${{ secrets.pypi_password }}
21+ - name : Publish package to PyPI
22+ uses : pypa/gh-action-pypi-publish@v1.3.1
23+ with :
24+ user : __token__
25+ password : ${{ secrets.pypi_password }}
3226 - name : Install tox
3327 run : pip install tox
3428 - name : Generate API docs
You can’t perform that action at this time.
0 commit comments