Skip to content

feat: aiod tune — benchmark sweep to find the cheapest-per-token co… #5

feat: aiod tune — benchmark sweep to find the cheapest-per-token co…

feat: aiod tune — benchmark sweep to find the cheapest-per-token co… #5

Workflow file for this run

name: Publish to PyPI
# Publishes when you push a version tag (e.g. v0.1.0) or create a GitHub Release.
on:
push:
tags: ["v*"]
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Build sdist + wheel
run: |
python -m pip install --upgrade build
python -m build
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
publish:
needs: build
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write # Trusted Publishing (OIDC) — no API token needed
steps:
- uses: actions/download-artifact@v4
with:
name: dist
path: dist/
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1