2020-10-23 16:23:03 +03:00
|
|
|
name: Wheels
|
|
|
|
|
2022-01-02 22:47:56 +03:00
|
|
|
on: [push, pull_request, workflow_dispatch]
|
2020-10-23 16:23:03 +03:00
|
|
|
|
|
|
|
jobs:
|
2022-03-30 03:36:47 +03:00
|
|
|
macos:
|
|
|
|
uses: ./.github/workflows/wheels-macos.yml
|
2022-02-21 16:41:52 +03:00
|
|
|
with:
|
|
|
|
build-commit: "HEAD"
|
|
|
|
artifacts-name: "wheels"
|
2020-10-24 04:17:04 +03:00
|
|
|
|
2022-03-30 03:36:47 +03:00
|
|
|
ubuntu:
|
|
|
|
uses: ./.github/workflows/wheels-ubuntu.yml
|
|
|
|
with:
|
|
|
|
build-commit: "HEAD"
|
|
|
|
artifacts-name: "wheels"
|
|
|
|
|
|
|
|
macos-latest:
|
|
|
|
if: "!startsWith(github.ref, 'refs/tags/')"
|
|
|
|
uses: ./.github/workflows/wheels-macos.yml
|
|
|
|
with:
|
|
|
|
build-commit: "main"
|
|
|
|
artifacts-name: "wheels-latest"
|
|
|
|
|
|
|
|
ubuntu-latest:
|
2020-10-24 04:17:04 +03:00
|
|
|
if: "!startsWith(github.ref, 'refs/tags/')"
|
2022-03-30 03:36:47 +03:00
|
|
|
uses: ./.github/workflows/wheels-ubuntu.yml
|
2022-02-21 16:41:52 +03:00
|
|
|
with:
|
|
|
|
build-commit: "main"
|
|
|
|
artifacts-name: "wheels-latest"
|
2020-10-23 18:20:37 +03:00
|
|
|
|
|
|
|
release:
|
|
|
|
name: Create Release
|
|
|
|
runs-on: ubuntu-latest
|
2020-10-24 04:17:04 +03:00
|
|
|
if: "startsWith(github.ref, 'refs/tags/')"
|
2022-03-30 03:36:47 +03:00
|
|
|
needs: [macos, ubuntu]
|
2020-10-23 18:20:37 +03:00
|
|
|
steps:
|
2022-03-04 12:57:39 +03:00
|
|
|
- uses: actions/download-artifact@v3
|
2020-10-23 18:20:37 +03:00
|
|
|
with:
|
|
|
|
name: wheels
|
|
|
|
- name: Upload Release
|
|
|
|
uses: fnkr/github-action-ghr@v1.3
|
|
|
|
env:
|
|
|
|
GHR_PATH: .
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2022-01-04 01:29:34 +03:00
|
|
|
|
|
|
|
success:
|
2022-03-30 03:36:47 +03:00
|
|
|
needs: [macos, ubuntu, macos-latest, ubuntu-latest]
|
2022-01-04 01:29:34 +03:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Wheels Successful
|
|
|
|
steps:
|
|
|
|
- name: Success
|
|
|
|
run: echo Wheels Successful
|