We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b1154af + 52f9344 commit ec4ced3Copy full SHA for ec4ced3
1 file changed
.github/workflows/ci.yaml
@@ -61,6 +61,8 @@ jobs:
61
name: Publish to PyPI
62
needs: build
63
runs-on: [ubuntu-latest]
64
+ permissions:
65
+ id-token: write
66
if: github.event_name != 'pull_request'
67
steps:
68
- uses: actions/download-artifact@v3
@@ -71,11 +73,8 @@ jobs:
71
73
- name: Test Publish package
72
74
uses: pypa/gh-action-pypi-publish@release/v1
75
with:
- password: ${{ secrets.SHARED_PYPI_TEST_TOKEN }}
76
repository_url: https://test.pypi.org/legacy/
77
78
- name: Publish package
79
80
if: startsWith(github.event.ref, 'refs/tags/v')
- with:
81
- password: ${{ secrets.SHARED_PYPI_TOKEN }}
0 commit comments