File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,28 +101,57 @@ jobs:
101101 path : dist
102102
103103 publish :
104- name : PyPI
104+ name : Publish to PyPI + GitHub Release
105105 needs : [build_wheels, build_wheels_freebsd, build_sdist]
106106 runs-on : ubuntu-latest
107107 environment : pypi
108108 permissions :
109- contents : write
110- id-token : write
111-
109+ contents : write
110+ id-token : write
111+
112112 steps :
113+ - uses : actions/checkout@v6
114+
113115 - uses : actions/download-artifact@v7
114116 with :
115- pattern : wheels-*
117+ name : sdist
116118 path : dist
117- merge-multiple : true
118-
119+
120+ # Explicit downloads - FreeBSD wheels not allowed on PyPI
121+ - uses : actions/download-artifact@v7
122+ with :
123+ name : wheels-Linux x86
124+ path : dist
125+ - uses : actions/download-artifact@v7
126+ with :
127+ name : wheels-Musl x86
128+ path : dist
129+ - uses : actions/download-artifact@v7
130+ with :
131+ name : wheels-Linux ARM64
132+ path : dist
133+ - uses : actions/download-artifact@v7
134+ with :
135+ name : wheels-MacOS
136+ path : dist
137+ - uses : actions/download-artifact@v7
138+ with :
139+ name : wheels-Windows
140+ path : dist
141+
119142 - name : Publish to PyPI
120143 uses : pypa/gh-action-pypi-publish@release/v1
121144
122- - name : Upload to GitHub Release
145+ - uses : actions/download-artifact@v7
146+ with :
147+ name : wheels-freebsd
148+ path : dist
149+
150+ # GitHub Release with all wheels
151+ - name : GitHub Release
123152 uses : softprops/action-gh-release@v2
124153 if : startsWith(github.ref, 'refs/tags/')
125154 with :
126155 files : dist/*
127-
128-
156+ generate_release_notes : true
157+
You can’t perform that action at this time.
0 commit comments