Skip to content

v0.7.6

v0.7.6 #17

Workflow file for this run

name: Publish
on:
release:
types: [created]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- run: uv sync
- name: Build a binary wheel and a source tarball
run: |
uv build --sdist --wheel --out-dir dist/ .
uv build --sdist --wheel --out-dir dist/ packages/gsm8k
uv build --sdist --wheel --out-dir dist/ packages/hotpotqa
# TODO: go back to `uv publish` after https://github.com/astral-sh/uv/issues/8030
- uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}