Skip to content

v0.1.0

v0.1.0 #1

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: Build and Publish
on:
release:
types:
- published
jobs:
build:
name: Build Distributions
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: uv build
run: uv build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: dists
path: dist/
publish:
name: Publish to PyPI
needs: build
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
steps:
- name: Fetch artifacts
uses: actions/download-artifact@v4
with:
name: dists
path: dist/
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1