Skip to content

ignore .claude dir (#9) #1

ignore .claude dir (#9)

ignore .claude dir (#9) #1

Workflow file for this run

name: Publish to PyPI
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+*'
jobs:
publish:
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for setuptools_scm to work properly
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build
- name: Build package
run: python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
# Using trusted publishing, no API token needed
# Make sure to configure trusted publishing in PyPI settings
verbose: true