Skip to content

0.11.0

0.11.0 #4

Workflow file for this run

name: Release
on:
release:
types: [published]
permissions:
contents: read
jobs:
release-pypi:
name: upload release to PyPI
runs-on: ubuntu-latest
environment: PyPI
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: setup rye
uses: sksat/[email protected]
with:
version: 0.13.0
- name: Install dependencies with rye
run: |
rye sync
- name: Build
run: |
rye build
- name: Publish package
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}