Skip to content

0.7.2

0.7.2 #5

Workflow file for this run

name: pypi-publish
on:
release:
types:
- published
jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
# This permission is needed for private repositories.
contents: read
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3
- name: Install the latest version of rye
uses: eifinger/setup-rye@v4
with:
enable-cache: true
- name: Sync dependencies
run: rye sync
- name: Build package
run: rye build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1