From b88ab7c04eabafd669bcf03a75e52b229c96c148 Mon Sep 17 00:00:00 2001 From: yangdx Date: Fri, 5 Sep 2025 02:00:44 +0800 Subject: [PATCH] Revert "Remove PyPI environment from publish workflow" This reverts commit 688550a9c6d8e15aad836d4d85698047e45e9fef. --- .github/workflows/pypi-publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 833323ca..45db4f7d 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -52,6 +52,9 @@ jobs: permissions: id-token: write + environment: + name: pypi + steps: - name: Retrieve release distributions uses: actions/download-artifact@v4