Pillow/.github/workflows/wheels.yml

41 lines
922 B
YAML
Raw Normal View History

2020-10-23 16:23:03 +03:00
name: Wheels
on: [push, pull_request, workflow_dispatch]
2020-10-23 16:23:03 +03:00
jobs:
build:
2022-02-21 16:41:52 +03:00
uses: ./.github/workflows/wheels-build.yml
with:
build-commit: "HEAD"
artifacts-name: "wheels"
2020-10-24 04:17:04 +03:00
build-latest:
if: "!startsWith(github.ref, 'refs/tags/')"
2022-02-21 16:41:52 +03:00
uses: ./.github/workflows/wheels-build.yml
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/')"
2020-10-23 18:20:37 +03:00
needs: build
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:
needs: [build, build-latest]
runs-on: ubuntu-latest
name: Wheels Successful
steps:
- name: Success
run: echo Wheels Successful