v1.0.1 #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: Publish to PyPI | |
on: | |
release: | |
types: [published] | |
jobs: | |
pypi_release: | |
name: Poetry Build & Publish (PyPI) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Init python/poetry environment | |
uses: ./.github/actions/setup-poetry-env | |
with: | |
cached-venv: false | |
- run: poetry run pytest | |
- run: poetry config pypi-token.pypi "${{ secrets.PYPI_API_KEY }}" | |
- name: "TODO: Publish to PyPI" | |
run: echo TODO && exit 1 | |
shell: bash |