File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ # The cibuildwheel action triggers on creation of a release, this
2
+ # triggers on publication.
3
+ # The expected workflow is to create a draft release and let the wheels
4
+ # upload, and then hit 'publish', which uploads to PyPi.
5
+
6
+ on :
7
+ release :
8
+ types :
9
+ - published
10
+ upload_pypi :
11
+ needs : [build_wheels, build_sdist]
12
+ runs-on : ubuntu-latest
13
+ environment :
14
+ name : pypi
15
+ url : https://pypi.org/p/cymem
16
+ permissions :
17
+ id-token : write
18
+ if : github.event_name == 'release' && github.event.action == 'published'
19
+ steps :
20
+ - uses : actions/download-artifact@v4
21
+ with :
22
+ # unpacks all CIBW artifacts into dist/
23
+ pattern : cibw-*
24
+ path : dist
25
+ merge-multiple : true
26
+ - uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments