Skip to content

v0.4.0

v0.4.0 #17

Workflow file for this run

name: Release
on:
release:
types:
- created
jobs:
publish:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
python-version: "3.10"
poetry-version: "1.3.1"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: |
pipx install poetry==${{ matrix.poetry-version }}
poetry self add poetry-plugin-ignore-build-script
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Publish
env:
PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
poetry build
poetry build --ignore-build-script
poetry config pypi-token.pypi $PYPI_TOKEN
poetry publish