Skip to content

Remove EOL Python (#12) #1

Remove EOL Python (#12)

Remove EOL Python (#12) #1

Workflow file for this run

name: Publish
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
environment: pypi
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set Up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.3
- name: Build
run: poetry build -vvv -f sdist
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz
- name: Publish
run: poetry publish -vvv -n -u __token__ -p ${{ secrets.PYPI_PASS }}