Skip to content

Commit

Permalink
Fix draft release not being created because of skipped build jobs
Browse files Browse the repository at this point in the history
The new setup will only skip creating the draft release if a build job fails
  • Loading branch information
Jurassic001 committed Oct 17, 2024
1 parent 59f3a9b commit 467d1b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ jobs:

# region Create a draft release
release:
# Wait for all build jobs to complete, as long as none of them failed then we will create the draft release
needs: [build-windows, build-linux, build-macos]
if: ${{ needs.build-windows.result != 'failure' && needs.build-linux.result != 'failure' && needs.build-macos.result != 'failure' }}
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 467d1b2

Please sign in to comment.