Skip to content

Commit

Permalink
Bump actions/upload-artifact from 3 to 4 (#743)
Browse files Browse the repository at this point in the history
* Bump actions/upload-artifact from 3 to 4

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update build_wheels.yml

* unique artifact name

* download all

* add suggestions

* Update .github/workflows/build_wheels.yml

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pavel Zwerschke <[email protected]>
Co-authored-by: Matthias Schmidtblaicher <[email protected]>
Co-authored-by: Matthias Schmidtblaicher <[email protected]>
Co-authored-by: Marc-Antoine Schmidt <[email protected]>
  • Loading branch information
5 people authored Feb 6, 2024
1 parent 3e70dfa commit 6202d6b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_ARCHS_MACOS: x86_64 arm64
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: wheels-${{ matrix.os }}

build_sdist:
name: Build source distribution
Expand All @@ -37,9 +38,10 @@ jobs:
run: python -m pip install setuptools setuptools-scm wheel Cython numpy scikit-learn
- name: Build sdist
run: python setup.py sdist
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz
name: sdist

upload_testpypi:
if: github.event_name == 'release' && github.event.action == 'published'
Expand All @@ -51,9 +53,9 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
merge-multiple: true
path: dist
- uses: pypa/[email protected]
with:
Expand All @@ -69,8 +71,8 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
merge-multiple: true
- uses: pypa/[email protected]

0 comments on commit 6202d6b

Please sign in to comment.