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 a32fa0f commit 3b3b392Copy full SHA for 3b3b392
.github/workflows/python-test_and_deploy.yml
@@ -44,6 +44,9 @@ jobs:
44
deploy:
45
name: Build and publish to TestPyPI
46
runs-on: ubuntu-22.04
47
+ environment: pypi
48
+ permissions:
49
+ id-token: write
50
if: github.ref == 'refs/heads/main'
51
steps:
52
- uses: actions/checkout@v4
@@ -60,6 +63,4 @@ jobs:
60
63
- name: Publish distribution to Test PyPI
61
64
uses: pypa/gh-action-pypi-publish@release/v1
62
65
with:
- user: __token__
- password: ${{ secrets.TEST_PYPI_API_TOKEN }}
66
repository_url: https://test.pypi.org/legacy/
0 commit comments