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 d2d8852 commit bb2c238Copy full SHA for bb2c238
.github/workflows/tests+pypi.yml
@@ -125,6 +125,8 @@ jobs:
125
dist_check:
126
runs-on: ubuntu-latest
127
needs: [build]
128
+ permissions:
129
+ id-token: write
130
steps:
131
- uses: actions/setup-python@v2
132
- run: pip install twine auditwheel
@@ -146,9 +148,6 @@ jobs:
146
148
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
147
149
uses: pypa/gh-action-pypi-publish@master
150
with:
- password: ${{ secrets.TEST_PYPI_API_TOKEN }}
151
repository_url: https://test.pypi.org/legacy/
152
- if: startsWith(github.ref, 'refs/tags')
153
- with:
154
- password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments