mirror of
https://github.com/yattee/yattee.git
synced 2026-02-19 09:19:46 +00:00
Skip GitHub release when any build job fails
Adding !failure() check so skipped builds (not selected) still allow the release, but actual build failures block it.
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -198,7 +198,7 @@ jobs:
|
||||
if-no-files-found: error
|
||||
|
||||
release:
|
||||
if: ${{ inputs.create_release && !cancelled() }}
|
||||
if: ${{ inputs.create_release && !cancelled() && !failure() }}
|
||||
needs: [determine_build_number, ios_beta, tvos_beta, mac_beta, mac_notarized]
|
||||
name: Create GitHub release
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user