Skip to content

Commit 9755d98

Browse files
committed
chore: add build wheel workflow x 2
1 parent ae379fe commit 9755d98

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/build-wheel.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,14 @@ jobs:
3535
- name: Build wheel
3636
run: python -m build --wheel
3737

38+
- name: Get wheel filename
39+
id: get_filename
40+
run: |
41+
echo "whl_file=$(ls dist/*.whl)" >> $GITHUB_OUTPUT
42+
3843
- name: Upload wheel artifact
3944
uses: actions/upload-artifact@v4
4045
with:
41-
name: python-wheel
42-
path: dist/*.whl # Upload all .whl files from the 'dist' directory
43-
46+
name: ${{ steps.get_filename.outputs.whl_file }}
47+
path: ${{ steps.get_filename.outputs.whl_file }}
48+
if-no-files-found: error

0 commit comments

Comments
 (0)