Skip to content

Speed up list-dependent-make-targets with multiple inputs #2

Speed up list-dependent-make-targets with multiple inputs

Speed up list-dependent-make-targets with multiple inputs #2

Workflow file for this run

name: Build and publish Python package to PyPI
on:
push:
tags:
- "v*" # e.g. v0.1.0
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # IMPORTANT: setuptools-scm needs tags
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Upgrade build tools
run: python -m pip install --upgrade pip build
- name: Build sdist and wheel
run: python -m build
- name: Publish to PyPI (Trusted Publishing)
uses: pypa/gh-action-pypi-publish@release/v1