2.5.0 Fix filter by relationships #32
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] | |
permissions: | |
contents: read | |
jobs: | |
pypi-publish: | |
if: ${{ !github.event.act }} # skip during local actions testing | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python π | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.11' | |
- name: Install Hatch π£ | |
run: pip install --upgrade pip setuptools wheel twine "hatch==1.7.0" | |
- name: Build π¨ | |
run: hatch build | |
- name: π Publish | |
env: | |
TWINE_USERNAME: __token__ | |
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
run: twine upload dist/* |