From 9e6d7b68a26d294303ed2a41589af7af47d70673 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Wed, 23 Sep 2026 18:50:16 +0000 Subject: [PATCH] Publish wheel/sdist to PyPI from the linux release job --- .gitea/workflows/release.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index e1bd971..3cbe68c 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -43,6 +43,15 @@ jobs: GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} run: uv run scripts/release.py + # Wheel/sdist are platform-independent; the linux job also pushes them + # to PyPI. Token is the PYPI_TOKEN repository secret. + - name: Publish to PyPI + if: matrix.os == 'linux' + shell: ${{ matrix.shell }} + env: + UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }} + run: uv publish + - name: Attach platform artifact to the Gitea release if: matrix.os != 'linux' shell: ${{ matrix.shell }} -- 2.55.0