Skip to content

Commit

Permalink
CI&CD: do not run build of Pi-Heif if Pillow-Heif build fails
Browse files Browse the repository at this point in the history
  • Loading branch information
bigcat88 committed Jan 18, 2023
1 parent a436ad5 commit 8c4bb58
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/publish-pypi-pi_heif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

jobs:
wheels_macos_arm:
if: ${{ github.event.workflow_run.conclusion == 'success'}}
name: macosx • aarch64
runs-on: ubuntu-20.04

Expand All @@ -34,6 +35,7 @@ jobs:
if-no-files-found: error

wheels_windows:
if: ${{ github.event.workflow_run.conclusion == 'success'}}
name: windows • x86_64
runs-on: windows-2019
env:
Expand Down Expand Up @@ -87,6 +89,7 @@ jobs:
if-no-files-found: error

wheels_macos:
if: ${{ github.event.workflow_run.conclusion == 'success'}}
name: macosx • x86_64
runs-on: macos-11

Expand Down Expand Up @@ -118,6 +121,7 @@ jobs:
if-no-files-found: error

wheels_linux_cpython:
if: ${{ github.event.workflow_run.conclusion == 'success'}}
strategy:
fail-fast: true
matrix:
Expand Down Expand Up @@ -171,6 +175,7 @@ jobs:
if-no-files-found: error

wheels_linux_pypy:
if: ${{ github.event.workflow_run.conclusion == 'success'}}
strategy:
fail-fast: true
matrix:
Expand Down Expand Up @@ -219,6 +224,7 @@ jobs:
if-no-files-found: error

wheels_armv7l:
if: ${{ github.event.workflow_run.conclusion == 'success'}}
name: ${{ matrix.i['name'] }} • ARMv7l • CPython
runs-on: ubuntu-20.04
strategy:
Expand Down Expand Up @@ -261,6 +267,7 @@ jobs:
if-no-files-found: error

sdist:
if: ${{ github.event.workflow_run.conclusion == 'success'}}
name: Source distribution
runs-on: macos-12

Expand Down Expand Up @@ -304,6 +311,7 @@ jobs:
path: wheelhouse/*.tar.gz

publish_release:
if: ${{ github.event.workflow_run.conclusion == 'success'}}
needs: [wheels_windows, wheels_macos, wheels_macos_arm, wheels_linux_cpython, wheels_linux_pypy, sdist, wheels_armv7l]
name: Publish release
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 8c4bb58

Please sign in to comment.