Skip to content

Commit

Permalink
bump upload-artifact@v3 to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
sungwy committed Nov 27, 2024
1 parent ce04058 commit a505ba8
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ jobs:
command: sdist
args: -o dist
- name: Upload sdist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-sdist
path: bindings/python/dist

wheels:
Expand Down Expand Up @@ -84,9 +84,9 @@ jobs:
# Workaround ring 0.17 build issue
CFLAGS_aarch64_unknown_linux_gnu: "-D__ARM_ARCH=8"
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ matrix.os }}
path: bindings/python/dist

pypi-publish:
Expand All @@ -105,9 +105,10 @@ jobs:

steps:
- name: Download all the dists
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: wheels
name: wheels-*
merge-multiple: true
path: bindings/python/dist
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand All @@ -132,7 +133,7 @@ jobs:

steps:
- name: Download all the dists
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: wheels
path: bindings/python/dist
Expand Down

0 comments on commit a505ba8

Please sign in to comment.