Skip to content

v0.1.27

v0.1.27 #37

Workflow file for this run

name: Publish
on:
release:
types: [created]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install dependencies
run: uv sync --locked
# - name: Test with pytest
# run: |
# uv run pytest
- name: Build wheels
run: |
uv version "$(git tag --points-at HEAD)"
uv build --wheel
- name: Upload
env:
UV_PUBLISH_USERNAME: __token__
UV_PUBLISH_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
uv publish