Skip to content

Release v0.2.1

Release v0.2.1 #2

Workflow file for this run

name: Publish
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
- run: |
pip install hatch
hatch build
- uses: actions/upload-artifact@v4
with:
path: ./dist
pypi-publish:
needs: ['build']
environment: 'publish'
name: Upload release to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}
packages_dir: artifact/