From d3f027564c70a7225c4321b50fa32481f70b5ce0 Mon Sep 17 00:00:00 2001 From: Sebastien Jourdain Date: Sun, 29 Dec 2024 16:30:05 -0700 Subject: [PATCH] fix(ci): pypi publish step --- .github/workflows/test_and_release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_and_release.yml b/.github/workflows/test_and_release.yml index f243c3aa..b909486e 100644 --- a/.github/workflows/test_and_release.yml +++ b/.github/workflows/test_and_release.yml @@ -96,7 +96,9 @@ jobs: needs: [pre-commit, pytest, check-and-lint] runs-on: ubuntu-latest if: github.event_name == 'push' - environment: release + environment: + name: pypi + url: https://pypi.org/p/trame permissions: id-token: write # IMPORTANT: mandatory for trusted publishing contents: write # IMPORTANT: mandatory for making GitHub Releases