1.37.3 #48
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to PyPI | |
on: | |
release: | |
types: | |
- published | |
# push: | |
# tags: | |
# - "[0-9]+.[0-9]+*" | |
workflow_dispatch: {} | |
jobs: | |
publish: | |
name: Build and publish | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- run: pip install --upgrade setuptools wheel twine | |
- run: python setup.py sdist bdist_wheel | |
- uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
user: __token__ | |
password: ${{ secrets.pypi_token }} | |
skip_existing: true |