Skip to content

Version 3.117

Version 3.117 #13

Workflow file for this run

name: Publish package to PyPI
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
build-test:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v5
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v6
with:
version: "latest"
python-version: "3.9"
- name: Build package
run: |
uv build
- name: Publish to PyPI
env:
# Possibly not necessary once the repo is a trusted publisher in PyPI
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
uv publish
- name: Check published package
run: |
uv run --with bitmapist==$(uv version --short) --no-project -- python -c "import bitmapist"