Skip to content

Release version 0.0.1a2 (#112) #1

Release version 0.0.1a2 (#112)

Release version 0.0.1a2 (#112) #1

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Release"
on:
push:
tags:
- "*"
# Declare default permissions as read only.
permissions: read-all
jobs:
build:
name: Build and Publish
runs-on: ubuntu-latest
environment:
# Create this environment in the GitHub repository under Settings -> Environments
name: release
permissions:
actions: read
contents: read
id-token: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: "3.12"
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/0.5.24/install.sh -o install.sh
echo "f476e445f4a56234fcc12ed478289f80e8e97b230622d8ce2f2406ebfeeb2620 install.sh" > checksum.txt
sha256sum --check checksum.txt
chmod +x install.sh
./install.sh
uv --version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
uv sync --frozen --all-packages
- name: Build packages
run: |
uv build --all-packages
- name: Publish to PyPI
run: |
uv publish --trusted-publishing always