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.
2 parents 05ad144 + f4439c0 commit 9a557a2Copy full SHA for 9a557a2
.github/workflows/ci.yaml
@@ -58,6 +58,8 @@ jobs:
58
name: Publish to PyPI
59
needs: build
60
runs-on: [ubuntu-latest]
61
+ permissions:
62
+ id-token: write
63
if: github.event_name != 'pull_request'
64
steps:
65
- uses: actions/download-artifact@v3
@@ -70,11 +72,8 @@ jobs:
70
72
- name: Test Publish package
71
73
uses: pypa/gh-action-pypi-publish@release/v1
74
with:
- password: ${{ secrets.SHARED_PYPI_TEST_TOKEN }}
75
repository_url: https://test.pypi.org/legacy/
76
77
- name: Publish package
78
79
if: startsWith(github.event.ref, 'refs/tags/v')
- with:
80
- password: ${{ secrets.SHARED_PYPI_TOKEN }}
0 commit comments