We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 377dd51 commit ab0c833Copy full SHA for ab0c833
.github/workflows/pypi-publish.yml
@@ -2,13 +2,13 @@ name: PyPi Publish
2
3
on:
4
workflow_call:
5
- secrets:
6
- PYPI_API_TOKEN:
7
- required: true
8
9
jobs:
10
publish:
11
runs-on: ubuntu-latest
+ environment: release
+ permissions:
+ id-token: write
12
steps:
13
- uses: actions/checkout@v4
14
- name: Set up Python
@@ -23,5 +23,3 @@ jobs:
23
run: |
24
python -m build
25
- uses: pypa/gh-action-pypi-publish@release/v1
26
- with:
27
- password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments