Skip to content

Commit 2df4c4d

Browse files
authored
Update release.yaml
1 parent 8212770 commit 2df4c4d

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/workflows/release.yaml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: macos-latest
2727
strategy:
2828
matrix:
29-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
29+
python-version: ["3.13", "3.14"]
3030
steps:
3131
- uses: actions/checkout@v1
3232
- uses: actions-rs/toolchain@v1
@@ -62,3 +62,26 @@ jobs:
6262
with:
6363
name: windows-wheels
6464
path: target/wheels
65+
66+
---
67+
upload-release:
68+
name: Upload Release Assets
69+
needs: [linux-wheels, osx-wheels, windows-wheels]
70+
runs-on: ubuntu-latest
71+
steps:
72+
- uses: actions/checkout@v4
73+
74+
- name: Download all wheels
75+
uses: actions/download-artifact@v4
76+
with:
77+
path: artifacts
78+
79+
- name: Get all wheel files
80+
id: get_files
81+
run: |
82+
echo "files=$(find artifacts -name '*.whl' | paste -s -d ' ' -)" >> $GITHUB_OUTPUT
83+
84+
- name: Create Release and Upload Assets
85+
uses: softprops/action-gh-release@v2
86+
with:
87+
files: ${{ steps.get_files.outputs.files }}

0 commit comments

Comments
 (0)