Skip to content

Commit

Permalink
CI: Upgrade workflow for up/download artifacts@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
vtraag committed Jan 21, 2024
1 parent b6acf96 commit cf7c525
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: wheels-linux-${{ matrix.wheel_arch }}
path: ./wheelhouse/*.whl

build_wheel_linux_aarch64:
Expand Down Expand Up @@ -99,6 +100,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: wheels-linux-aarch64
path: ./wheelhouse/*.whl

build_wheel_macos:
Expand Down Expand Up @@ -152,6 +154,7 @@ jobs:
DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}
- uses: actions/upload-artifact@v4
with:
name: wheels-macos-${{ matrix.wheel_arch }}
path: ./wheelhouse/*.whl

build_wheel_win:
Expand Down Expand Up @@ -205,6 +208,7 @@ jobs:
CIBW_REPAIR_WHEEL_COMMAND: "delvewheel repair -w {dest_dir} {wheel}"
- uses: actions/upload-artifact@v4
with:
name: wheels-win-${{ matrix.wheel_arch }}
path: ./wheelhouse/*.whl

build_sdist:
Expand All @@ -230,6 +234,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: wheels-sdist
path: dist/*.tar.gz

upload_pypi:
Expand All @@ -241,7 +246,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: artifact
name: wheels-*
merge-multiple: true
path: dist

# Upload tagged versions to production PyPI
Expand Down

0 comments on commit cf7c525

Please sign in to comment.