v0.7.6 #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |