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 10:33:30 +03:00
|
|
|
linux:
|
|
|
|
uses: ./.github/workflows/wheels-linux.yml
|
2022-03-30 03:36:47 +03:00
|
|
|
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"
|
|
|
|
|
2022-03-30 10:33:30 +03:00
|
|
|
linux-latest:
|
2020-10-24 04:17:04 +03:00
|
|
|
if: "!startsWith(github.ref, 'refs/tags/')"
|
2022-03-30 10:33:30 +03:00
|
|
|
uses: ./.github/workflows/wheels-linux.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
|
2022-03-30 10:33:30 +03:00
|
|
|
runs-on: linux-latest
|
2020-10-24 04:17:04 +03:00
|
|
|
if: "startsWith(github.ref, 'refs/tags/')"
|
2022-03-30 10:33:30 +03:00
|
|
|
needs: [macos, linux]
|
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 10:33:30 +03:00
|
|
|
needs: [macos, linux, macos-latest, linux-latest]
|
2022-01-04 01:29:34 +03:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Wheels Successful
|
|
|
|
steps:
|
|
|
|
- name: Success
|
|
|
|
run: echo Wheels Successful
|