Skip to content

Commit

Permalink
ci: update GitHub Actions workflow to use uv for package publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Tlaloc-Es committed Jan 2, 2025
1 parent 88d81c7 commit 980ffac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
with:
submodules: recursive
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: "build"
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
id: build
run: |
curl -sSL https://install.python-poetry.org | python3 -
poetry build
poetry config pypi-token.pypi "$POETRY_PYPI_TOKEN_PYPI"
poetry publish
uv build
uv publish

0 comments on commit 980ffac

Please sign in to comment.