Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to upload-artifact@v4 #49

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: python -m pip install cibuildwheel==2.16.2

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
run: python -m cibuildwheel --output-dir dist
env:
CIBW_BEFORE_BUILD: pip install cython==3.0.8 && pip install -e . && python build.py
CIBW_TEST_REQUIRES: pytest
Expand All @@ -42,10 +42,10 @@ jobs:
CIBW_ARCHS_LINUX: auto aarch64
CIBW_BUILD_VERBOSITY: 3

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

upload:
# Skip this step on pull requests. Run only when pushing a version tag.
Expand All @@ -61,11 +61,10 @@ jobs:
- name: Stage wheels
uses: actions/download-artifact@v4
with:
name: wheelhouse
path: wheelhouse
pattern: wheelhouse-*
merge-multiple: true
path: dist
- run: |
mkdir dist
mv -v wheelhouse/* dist/
ls -l dist/

- name: Publish package
Expand Down
Loading