Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
improve action
Browse files Browse the repository at this point in the history
  • Loading branch information
chase-crumbaugh committed Feb 8, 2024
1 parent 766f6df commit 26c5021
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/workflow-executor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,19 @@ jobs:
if: |
always() &&
!contains(needs.*.result, 'failure') &&
!contains(needs.*.result, 'cancelled')
!contains(needs.*.result, 'cancelled') && (
needs.run-workflow.outputs.go_regenerated == 'true' ||
needs.run-workflow.outputs.python_regenerated == 'true' ||
needs.run-workflow.outputs.typescript_regenerated == 'true' ||
needs.run-workflow.outputs.terraform_regenerated == 'true' ||
needs.run-workflow.outputs.java_regenerated == 'true' ||
needs.run-workflow.outputs.php_regenerated == 'true' ||
needs.run-workflow.outputs.ruby_regenerated == 'true' ||
needs.run-workflow.outputs.csharp_regenerated == 'true' ||
needs.run-workflow.outputs.swift_regenerated == 'true' ||
needs.run-workflow.outputs.unity_regenerated == 'true' ||
needs.run-workflow.outputs.docs_regenerated == 'true'
)
needs:
- run-workflow
runs-on: ubuntu-latest
Expand Down Expand Up @@ -332,7 +344,7 @@ jobs:
GH_ACTION_STEP: ${{ github.job }}
TARGET_TYPE: "sdk"
publish-java:
if: ${{ always() && needs.finalize.run-workflow.java_regenerated == 'true' && needs.run-workflow.outputs.publish_java == 'true' && inputs.mode != 'pr' }}
if: ${{ always() && needs.run-workflow.outputs.java_regenerated == 'true' && needs.run-workflow.outputs.publish_java == 'true' && inputs.mode != 'pr' }}
name: Publish Java SDK
runs-on: ubuntu-latest
needs: [ run-workflow, finalize ]
Expand Down

0 comments on commit 26c5021

Please sign in to comment.