File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 11name : Wheel build
22
33on :
4+ release :
5+ types : [created]
46 push :
57 paths :
68 - .github/workflows/wheels.yml
@@ -124,3 +126,35 @@ jobs:
124126 with :
125127 path : ./wheelhouse/*.whl
126128 name : lxml-wheel-${{ matrix.only }}
129+
130+ upload_release_assets :
131+ name : Upload Release Assets
132+ needs : [ build_wheels ]
133+ runs-on : ubuntu-latest
134+
135+ permissions :
136+ contents : write
137+
138+ steps :
139+ - name : Download artifacts
140+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
141+ with :
142+ path : ./release_upload
143+ merge-multiple : true
144+
145+ - name : List downloaded artifacts
146+ run : ls -la ./release_upload
147+
148+ - name : Upload wheels
149+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
150+ with :
151+ path : ./release_upload/*.whl
152+ name : all_wheels
153+
154+ - name : Release
155+ uses : softprops/action-gh-release@v2
156+ if : github.ref_type == 'tag'
157+ with :
158+ files : |
159+ ./release_upload/*.whl
160+ ./release_upload/*.tar.gz
You can’t perform that action at this time.
0 commit comments