From dfd815c9450477a01f4249ac29d9070e783a0261 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Mon, 16 Dec 2024 09:48:57 -0600 Subject: [PATCH] Update for trusted publishing --- .github/workflows/release.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c1613f6e..2275ea8b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,6 +14,7 @@ jobs: release-package: name: Release to PyPI runs-on: ubuntu-latest + environment: release steps: - uses: actions/checkout@v4 @@ -28,8 +29,6 @@ jobs: curl -LsSf https://astral.sh/uv/install.sh | sh - name: Publish package - env: - UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }} run: | sed -i -e "s/0.0.0/${GITHUB_REF#refs/*/}/" pyproject.toml uv build