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 3b3b392 commit c1a4f9eCopy full SHA for c1a4f9e
.github/workflows/python-deploy_to_pypi.yml
@@ -8,6 +8,9 @@ jobs:
8
deploy:
9
name: Build and publish to PyPI
10
runs-on: ubuntu-22.04
11
+ environment: pypi
12
+ permissions:
13
+ id-token: write
14
steps:
15
- uses: actions/checkout@v4
16
with:
@@ -22,6 +25,3 @@ jobs:
22
25
run: python -m build -n --sdist --wheel --outdir dist/ .
23
26
- name: Publish distribution to Test PyPI
24
27
uses: pypa/gh-action-pypi-publish@release/v1
- with:
- user: __token__
- password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments