Skip to content

chore/pypi Publish to PyPI (#5) #1

chore/pypi Publish to PyPI (#5)

chore/pypi Publish to PyPI (#5) #1

Workflow file for this run

name: Publish to PyPI
on:
push:
tags:
- "v*"
jobs:
build-n-publish:
name: Build and publish Python distro to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/sensirion-sps30
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Set up Python
run: uv python install
- name: Build package
run: uv build
- name: Publish package
run: uv publish