We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d405238 commit 3e4f8c5Copy full SHA for 3e4f8c5
1 file changed
.github/workflows/release.yml
@@ -6,6 +6,7 @@ on:
6
tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ]
7
8
permissions:
9
+ id-token: write
10
contents: write
11
12
jobs:
@@ -53,6 +54,7 @@ jobs:
53
54
name: Publish to PyPI
55
runs-on: ubuntu-latest
56
needs: release
57
+ environment: pypi
58
steps:
59
- name: Download artifact
60
uses: actions/download-artifact@v7
@@ -61,5 +63,3 @@ jobs:
61
63
path: dist/
62
64
- name: Publish package to PyPI
65
uses: pypa/gh-action-pypi-publish@release/v1
- with:
- password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments