Skip to content

1.0.0

1.0.0 #3

name: Upload Python Package
on:
release:
types: [created]
env:
UV_LOCKED: true # Assert that the `uv.lock` will remain unchanged
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install uv and set the python version
uses: astral-sh/setup-uv@v7
with:
# It is considered best practice to pin to a specific uv version.
version: "0.11.6"
python-version: ${{ matrix.python-version }}
- name: Build package
run: uv build
- name: Publish package
run: uv publish
env:
UV_PUBLISH_USERNAME: ${{ secrets.FLIT_USERNAME }}
UV_PUBLISH_PASSWORD: ${{ secrets.FLIT_PASSWORD }}