Skip to content

Commit 19c5ef5

Browse files
committed
Rollback to legacy token access
#1
1 parent f809eff commit 19c5ef5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/pypi-publish.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ name: PyPi Publish
22

33
on:
44
workflow_call:
5+
secrets:
6+
PYPI_API_TOKEN:
7+
required: true
58

69
jobs:
710
publish:
811
runs-on: ubuntu-latest
9-
environment: release
10-
permissions:
11-
id-token: write
1212
steps:
1313
- uses: actions/checkout@v4
1414
- name: Set up Python
@@ -23,3 +23,5 @@ jobs:
2323
run: |
2424
python -m build
2525
- uses: pypa/gh-action-pypi-publish@release/v1
26+
with:
27+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)