Fix publish yml
This commit is contained in:
committed by
Ross Wightman
parent
b7ce3897a2
commit
800104efa7
4
.github/workflows/python-publish.yml
vendored
4
.github/workflows/python-publish.yml
vendored
@@ -25,6 +25,8 @@ jobs:
|
||||
- name: Release
|
||||
if: ${{ steps.regex-match.outputs.match != '' }}
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: ${{ steps.regex-match.outputs.group1 }}
|
||||
- name: Build and publish
|
||||
if: ${{ steps.regex-match.outputs.match != '' }}
|
||||
env:
|
||||
@@ -32,4 +34,4 @@ jobs:
|
||||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||
run: |
|
||||
python setup.py sdist bdist_wheel
|
||||
twine upload dist/*
|
||||
twine upload dist/*
|
||||
|
||||
Reference in New Issue
Block a user