Skip to content

v0.1.0rc1

v0.1.0rc1 #1

Workflow file for this run

name: Publish Package
on:
release:
types: [created]
permissions: {}
jobs:
publish:
if: "!cancelled()"
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.10"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up uv
uses: astral-sh/setup-uv@v3
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Set up uv
uses: astral-sh/setup-uv@v3
- name: Build the package
run: uv build
- name: Publish the package
env:
UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }}
run: uv publish --token $UV_PUBLISH_TOKEN