Skip to content

Merge pull request #68 from aitomatic/release #7

Merge pull request #68 from aitomatic/release

Merge pull request #68 from aitomatic/release #7

Workflow file for this run

name: Release Distribution on PyPI
on:
push:
tags:
- '*'
jobs:
pypi-release:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.11
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: python3 -m pip install Poetry --upgrade
- name: Build Distribution
run: poetry build
- name: Publish Distribution
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}