Skip to content

Commit 3b8d8aa

Browse files
committed
CI: update release
1 parent 14fa96e commit 3b8d8aa

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,12 @@ jobs:
330330
path: artifacts
331331
pattern: "*_tar"
332332

333+
- name: Download artifacts (*.whl)
334+
uses: actions/download-artifact@v4
335+
with:
336+
path: artifacts
337+
pattern: "*_whl"
338+
333339
- name: Display structure of downloaded files
334340
run: ls -R artifacts
335341

@@ -348,12 +354,21 @@ jobs:
348354
349355
ls -R release
350356
357+
- name: Move wheel files to dist/
358+
run: |
359+
mkdir -p dist
360+
mv artifacts/*/*.whl dist/
361+
351362
- name: Create Release
352363
id: create_release
353364
uses: softprops/action-gh-release@v1
365+
env:
366+
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
354367
with:
355368
draft: true
356-
files: "release/*.tar.gz"
369+
files: |
370+
release/*.tar.gz
371+
dist/*.whl
357372
358373
359374

0 commit comments

Comments
 (0)