File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 11name : Release
22on :
3- push :
4- branches :
5- - release-workflow-refactor
6- workflow_dispatch : { }
3+ release :
4+ types : [published]
75
86jobs :
97 publish :
@@ -20,11 +18,16 @@ jobs:
2018 run : pip install twine
2119 - name : Build package
2220 run : python setup.py sdist
23- # - name: Publish package to PyPI
24- # uses: pypa/gh-action-pypi-publish@v1.3.1
25- # with:
26- # user: __token__
27- # password: ${{ secrets.pypi_password }}
21+ - name : Create Release
22+ id : create_release
23+ uses : actions/create-release@v1
24+ env :
25+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26+ - name : Publish package to PyPI
27+ uses : pypa/gh-action-pypi-publish@v1.3.1
28+ with :
29+ user : __token__
30+ password : ${{ secrets.pypi_password }}
2831 - name : Install tox
2932 run : pip install tox
3033 - name : Generate API docs
You can’t perform that action at this time.
0 commit comments