Skip to content

Publish package

Publish package #31

Workflow file for this run

name: Publish package
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install rye
run: curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash
- name: Publish package
run: |
source $HOME/.rye/env
rye sync
rye build
rye publish --token ${{ secrets.PYPI_TOKEN }}