-
Notifications
You must be signed in to change notification settings - Fork 2
50 lines (43 loc) · 1.14 KB
/
wheels.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Wheels
on: [push, pull_request, workflow_dispatch]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
macos:
uses: ./.github/workflows/wheels-macos.yml
with:
build-commit: "HEAD"
artifacts-name: "macos-wheels"
linux:
uses: ./.github/workflows/wheels-linux.yml
with:
build-commit: "HEAD"
artifacts-name: "manylinux-wheels"
windows:
uses: ./.github/workflows/wheels-windows.yml
with:
build-commit: "HEAD"
artifacts-name: "windows-wheels"
release:
name: Create Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: [macos, linux, windows]
steps:
- uses: actions/download-artifact@v4
with:
pattern: "*-wheels-*.zip"
merge-multiple: true
- name: Upload Release
uses: fnkr/[email protected]
env:
GHR_PATH: .
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
success:
needs: [macos, linux, windows]
runs-on: ubuntu-latest
name: Wheels Successful
steps:
- name: Success
run: echo Wheels Successful