Skip to content

Commit

Permalink
chore: upload artifacts to os specific dir and merge downloads (#489)
Browse files Browse the repository at this point in the history
* chore: upload artifacts to os specific dir and merge downloads

Signed-off-by: Keming <[email protected]>

* typo

Signed-off-by: Keming <[email protected]>

---------

Signed-off-by: Keming <[email protected]>
  • Loading branch information
kemingy authored Jan 1, 2024
1 parent d5e16e1 commit 677074b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels_${{ github.event.release.tag_name }}
name: wheels_${{ github.event.release.tag_name }}_${{ matrix.os }}
retention-days: 1
path: ./wheelhouse/*.whl

Expand All @@ -39,7 +39,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: wheels_${{ github.event.release.tag_name }}
pattern: wheels_${{ github.event.release.tag_name }}_*
merge-multiple: true
- uses: actions/setup-python@v5
with:
python-version: 3.9
Expand Down Expand Up @@ -67,6 +68,11 @@ jobs:
python setup.py sdist
twine upload --skip-existing dist/*
image:
name: "Build Docker Image"
runs-on: ubuntu-latest
needs: [publish]
steps:
- name: Docker Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand Down

0 comments on commit 677074b

Please sign in to comment.