Skip to content

Version 0.1.1

Version 0.1.1 #1

Workflow file for this run

name: Release on PyPI
on:
release:
types:
- published
jobs:
build:
strategy:
fail-fast: false # TODO: do we need this here?
matrix:
# TODO: why do we need matrix here, if we do at all?
# os: [ubuntu-latest, macos-latest, windows-latest]
# python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest]
python-version: ["3.11"]
poetry-version: ["1.7.0"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Publish
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
poetry config pypi-token.pypi $PYPI_TOKEN
poetry publish --build