Skip to content

Commit

Permalink
build(python): Fix upload-artifact@v4 steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Stranger6667 committed Dec 28, 2023
1 parent 024c31c commit 4528a23
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Upload sdist
uses: actions/upload-artifact@v4
with:
name: dist
name: sdist
path: dist

macos-x86_64:
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: dist
name: wheel-macos-x86_64
path: dist

macos-universal:
Expand All @@ -83,7 +83,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: dist
name: wheel-macos-universal
path: dist

windows:
Expand All @@ -110,7 +110,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: dist
name: wheel-windows-${{ matrix.target }}
path: dist

linux:
Expand All @@ -137,7 +137,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: dist
name: wheel-linux-${{ matrix.target }}
path: dist

linux-cross:
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: dist
name: wheel-linux-cross-${{ matrix.target }}
path: dist

musllinux:
Expand Down Expand Up @@ -203,7 +203,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: dist
name: wheel-musllinux-${{ matrix.target }}
path: dist

musllinux-cross:
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: dist
name: wheel-musllinux-cross-${{ matrix.platform.target }}-${{ matrix.platform.arch }}
path: dist

pypy:
Expand Down Expand Up @@ -274,7 +274,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: dist
name: wheel-pypy-${{ matrix.os }}-${{ matrix.target }}-${{ matrix.python-version }}
path: dist

release:
Expand All @@ -294,7 +294,11 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: dist
path: all
- name: Merge files
run: |
mkdir dist
mv all/*/* dist
- uses: actions/setup-python@v5
- name: Publish to PyPi
env:
Expand Down

0 comments on commit 4528a23

Please sign in to comment.