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

Fix Python release action #227

Merged
merged 2 commits into from
Dec 15, 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
20 changes: 11 additions & 9 deletions .github/workflows/release-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: "3.10"
architecture: x64
architecture: arm64
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-macos
path: dist

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

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

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

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

musllinux-cross:
Expand All @@ -155,17 +155,19 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-musllinux-cross-${{ matrix.platform.target }}
path: dist

publish:
name: Publish
runs-on: ubuntu-latest
needs: [macos, windows, linux, linux-cross, musllinux, musllinux-cross]
steps:
- uses: actions/download-artifact@v4
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
name: wheels
pattern: wheels-*
merge-multiple: true
- uses: actions/setup-python@v4
with:
python-version: "3.10"
Expand Down
Loading