We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcd1c1b commit 8f0f352Copy full SHA for 8f0f352
.github/workflows/wheels.yml
@@ -117,7 +117,10 @@ jobs:
117
118
PyPI_Upload:
119
runs-on: ubuntu-latest
120
- needs: ['windows-test', 'OSX-test', 'manylinux-test']
+ environment: release
121
+ needs: [ 'windows-test', 'OSX-test', 'manylinux-test' ]
122
+ permissions:
123
+ id-token: write
124
steps:
125
- name: Download all
126
uses: actions/download-artifact@v2
@@ -127,7 +130,7 @@ jobs:
127
130
cp */*.{whl,gz} dist/.
128
131
- name: Publish distribution to Test PyPI
129
132
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
- uses: pypa/gh-action-pypi-publish@master
133
+ uses: pypa/gh-action-pypi-publish@release/v1.8
134
with:
135
repository_url: https://test.pypi.org/legacy/
136
- name: Publish distribution to PRODUCTION PyPI
0 commit comments