This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
Bump version to 1.1.0 (#230) #7
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: Release | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
release-pypi: | |
name: release-pypi | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: 3.9 | |
- name: Install build tool | |
run: | | |
pip install -U build | |
- name: Build artifacts | |
run: | | |
python -m build --sdist --wheel . | |
- name: Upload to Pypi | |
run: | | |
pip install twine | |
twine upload --username __token__ --password ${{ secrets.PYPI_TOKEN }} dist/* | |