Skip to content

Commit

Permalink
fix: don't run finalize if all compile jobs skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanSpeakEasy committed Mar 7, 2023
1 parent 6b42ff8 commit 59602cd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/sdk-generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,12 @@ jobs:
if: |
always() &&
!contains(needs.*.result, 'failure') &&
!contains(needs.*.result, 'cancelled')
!contains(needs.*.result, 'cancelled') &&
(needs.compile-go.result != 'skipped' ||
needs.compile-java.result != 'skipped' ||
needs.compile-python.result != 'skipped' ||
needs.compile-typescript.result != 'skipped' ||
needs.compile-php.result != 'skipped')
needs:
- generate
- compile-go
Expand Down

0 comments on commit 59602cd

Please sign in to comment.