Skip to content

✨ Add tests and flags #14

✨ Add tests and flags

✨ Add tests and flags #14

Workflow file for this run

name: Publish to PyPI

Check failure on line 1 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

(Line: 33, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual 'uv publish'
on:
push:
tags:
- "v*"
permissions:
contents: read
jobs:
build-and-publish:
name: Build and publish Python distribution to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Build package
run: uv build
working-directory: gruyere-py
- name: Publish to PyPI
uses: uv publish