Skip to content

pre-release

pre-release #3

Workflow file for this run

name: Publish to Pypi
on:
release:
types: [published]
workflow_dispatch:
permissions:
contents: read
jobs:
publish:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Publish
env:
PYPI_TOKEN: ${{ secrets.PYPI_API_KEY }}
run: |
poetry config pypi-token.pypi $PYPI_TOKEN
poetry publish --build