File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -191,3 +191,25 @@ jobs:
191
191
name : cibw-wheels-${{ runner.os }}-${{ matrix.cibw_archs }}
192
192
path : ./wheelhouse/*.whl
B470
code>
193
193
if-no-files-found : error
194
+
195
+ publish :
196
+ name : Upload release to PyPI
197
+ needs : [build_sdist, build_wheels]
198
+ runs-on : ubuntu-latest
199
+ # environment: release
200
+ permissions :
201
+ id-token : write
202
+ steps :
203
+ - name : Download packages
204
+ uses : actions/download-artifact@v4
205
+ with :
206
+ pattern : cibw-*
207
+ path : dist
208
+ merge-multiple : true
209
+
210
+ - name : Print out packages
211
+ run : ls dist
212
+
213
+ - name : Publish package distributions to PyPI
214
+ uses : pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e # v1.8.10
215
+ if : github.event_name == 'release' && github.event.action == 'published'
You can’t perform that action at this time.
0 commit comments