Skip to content

v0.1.4 — Added configurable acquisition control #2

v0.1.4 — Added configurable acquisition control

v0.1.4 — Added configurable acquisition control #2

Workflow file for this run

name: Publish to PyPI
# Builds and publishes to PyPI when you publish a GitHub Release.
# Uses PyPI Trusted Publishing (OIDC) — no API token stored anywhere.
# One-time setup on PyPI: add a trusted publisher for this project
# (owner: zhengyuechen, repo: AutoSQUID, workflow: publish.yml, environment: pypi).
# Before the package exists on PyPI, configure it as a "pending publisher".
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
environment: pypi
permissions:
contents: read # actions/checkout
id-token: write # OIDC token for Trusted Publishing
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Build sdist + wheel
run: |
python -m pip install --upgrade build
python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1