Skip to content

Commit

Permalink
GitHub actions: publish to GitHub Releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Zelenchuk committed Jul 31, 2023
1 parent 929a4b9 commit cfd57cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ jobs:
done
- name: Build 🐍 Python 📦 Package
run: python -m build --sdist --wheel --outdir dist/
- name: Publish to GitHub Releases
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: dist/*
- name: Publish 🐍 Python 📦 Package to PyPI
env:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN_SORTABLE2 }}
Expand Down

0 comments on commit cfd57cf

Please sign in to comment.