Skip to content

Commit

Permalink
CI: update upload/download artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavid committed Aug 19, 2024
1 parent f0f26b2 commit 7fb0df2
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04, macos-12]
include:
- name: linux
os: ubuntu-24.04
- name: macos
os: macos-12

steps:
- uses: actions/checkout@v4
Expand All @@ -34,9 +38,9 @@ jobs:
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ matrix.name }}
path: ./wheelhouse/*.whl

pypi:
Expand All @@ -45,10 +49,11 @@ jobs:
runs-on: ubuntu-24.04

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: wheels
path: dist
pattern: wheels-*
merge-multiple: true

- name: Display structure of downloaded files
run: ls -lh dist
Expand Down

0 comments on commit 7fb0df2

Please sign in to comment.