Release Package to PyPI.org #1
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 Package to PyPI.org | |
on: | |
release: | |
types: [published] | |
jobs: | |
build-and-publish: | |
name: Build and Publish Package to PyPI.org | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- run: python -m pip install build twine && python -m build | |
- uses: pypa/gh-action-pypi-publish@release/v1 |