Release 2.13.0 #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: Release | |
on: | |
push: | |
tags: | |
- v*.*.* | |
jobs: | |
publish: | |
name: Publish to PyPI | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Wait for tests to succeed | |
uses: lewagon/wait-on-check-action@v1.3.1 | |
timeout-minutes: 15 | |
with: | |
ref: 'refs/heads/main' | |
running-workflow-name: 'Publish to PyPI' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
wait-interval: 10 | |
allowed-conclusions: success | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
- name: Set up Poetry | |
uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: '1.4.1' | |
- name: Install dependencies | |
run: poetry install --without test | |
- name: Publish distribution to PyPI | |
run: poetry publish --build -u __token__ -p '${{ secrets.PYPI_API_TOKEN }}' |