Skip to content

Commit

Permalink
upgrade upload-artifact@v4 download-artifact@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
eloyfelix committed Jan 15, 2025
1 parent 9d8a597 commit a280584
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Check metadata
run: pipx run twine check dist/*

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz

Expand Down Expand Up @@ -56,27 +56,27 @@ jobs:
python: 313
platform_id: win_amd64

# Linux 64 bit manylinux2014
# Linux 64 bit manylinux_2_28
- os: ubuntu-latest
python: 39
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
manylinux_image: manylinux_2_28
- os: ubuntu-latest
python: 310
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
manylinux_image: manylinux_2_28
- os: ubuntu-latest
python: 311
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
manylinux_image: manylinux_2_28
- os: ubuntu-latest
python: 312
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
manylinux_image: manylinux_2_28
- os: ubuntu-latest
python: 313
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
manylinux_image: manylinux_2_28

# MacOS x86_64
- os: macos-latest
Expand Down Expand Up @@ -130,8 +130,9 @@ jobs:
shell: bash

- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheel-${{ strategy.job-index }}
path: wheelhouse/*.whl

upload_all:
Expand All @@ -145,11 +146,12 @@ jobs:
with:
python-version: "3.x"

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
pattern: wheel-*
path: dist

merge-multiple: true

- uses: pypa/[email protected]
with:
user: __token__
Expand Down

0 comments on commit a280584

Please sign in to comment.