Skip to content

Commit 899d976

Browse files
authored
Revert PyPI Publishing (#323)
* Bump prepatch * Fix CI (#321) * ci: Can't use Trusted Publisher so reverting to old publishing pattern * Add changelog * Use commit * Fix spacing again * Revert name for step and comment version for sha * Again * Revert version
1 parent 188bf79 commit 899d976

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,17 @@ jobs:
5858
if: "startsWith(github.ref, 'refs/tags/v')"
5959
needs: "build"
6060
environment: "pypi"
61-
permissions:
62-
# IMPORTANT: this permission is mandatory for Trusted Publishing
63-
id-token: "write"
6461
steps:
6562
- name: "Retrieve built package from cache"
6663
uses: "actions/download-artifact@v4"
6764
with:
6865
name: "distfiles"
6966
path: "dist/"
70-
71-
- name: "Publish package distributions to PyPI"
67+
- name: "Publish package distribution to PyPI"
7268
uses: "pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e" # v1.13.0
69+
with:
70+
user: "__token__"
71+
password: "${{ secrets.PYPI_API_TOKEN }}"
7372

7473
slack-notify:
7574
needs:

changes/323.housekeeping

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Reverted PyPI publishing method.

0 commit comments

Comments
 (0)