Skip to content

v1.7.2

v1.7.2 #21

Workflow file for this run

name: Publish to PyPI
on:
release:
types: [released]
workflow_dispatch:
jobs:
publish_to_pypi:
name: Publish to PyPI
runs-on: ubuntu-latest
env:
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rye
run: |
curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
- name: Build
run: rye build
- name: Publish
run: rye publish -u $PYPI_USERNAME --token $PYPI_PASSWORD -y