Skip to content

v1.5.0

v1.5.0 #8

Workflow file for this run

# https://testdriven.io/tips/810f9bb5-c9df-479d-baa4-290c7e0779f1/
# https://github.com/abatilo/actions-poetry
name: Release Python Package
on:
release:
types: [published]
permissions:
contents: read
jobs:
publish:
strategy:
fail-fast: false
matrix:
python-version: [3.9]
poetry-version: [1.7.1]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: abatilo/actions-poetry@v3
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Publish
env:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
poetry config pypi-token.pypi $PYPI_API_TOKEN
poetry publish --build