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 20, 2024
1 parent 9c79d3c commit 6f06cba
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 @@ -13,7 +13,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 @@ -33,9 +37,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 @@ -44,10 +48,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 6f06cba

Please sign in to comment.