Skip to content

chore: release 0.1.0 #3

chore: release 0.1.0

chore: release 0.1.0 #3

Workflow file for this run

name: publish
on:
push:
tags:
- v**
jobs:
pypi-publish:
name: Upload to PyPI
environment: release
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install tools
run: pip install poetry
- name: Build the release packages
run: |
poetry build
sha256sum dist/*
# only publish tagged commits to PyPI
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/v')
uses: pypa/gh-action-pypi-publish@release/v1
with:
print-hash: true