Skip to content

Commit

Permalink
Added missing "needs" to GHA windows client workflows and fixed if on…
Browse files Browse the repository at this point in the history
… build jobs
  • Loading branch information
PedroRauizBeamable committed Jul 9, 2024
1 parent 8bd6ad1 commit 87ffe2d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_linux_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
# Only run this if the changes job actually detected changes OR if we are building all.
# Empty array will be serialized as [] so you can simply check it in the if condition.
# Second part of the condition just checks if it's not an empty string - that would mean some failure during changes job execution.
if: ${{ (!inputs.buildAll && needs.changes.outputs.BEAMPROJS != '[]' && needs.changes.outputs.BEAMPROJS != '') || inputs.buildAll }}
if: ${{ (needs.changes.outputs.BEAMPROJS != '[]' && needs.changes.outputs.BEAMPROJS != '') || inputs.buildAll }}

strategy:
max-parallel: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_linux_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
# Only run this if the changes job actually detected changes OR if we are building all.
# Empty array will be serialized as [] so you can simply check it in the if condition.
# Second part of the condition just checks if it's not an empty string - that would mean some failure during changes job execution.
if: ${{ (!inputs.buildAll && needs.changes.outputs.BEAMPROJS != '[]' && needs.changes.outputs.BEAMPROJS != '') || inputs.buildAll }}
if: ${{ (needs.changes.outputs.BEAMPROJS != '[]' && needs.changes.outputs.BEAMPROJS != '') || inputs.buildAll }}

strategy:
max-parallel: 1
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build_windows_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,13 @@ jobs:
- '*.uproject'
build:
needs: changes
uses: ./.github/workflows/build_windows.yml

# Only run this if the changes job actually detected changes OR if we are building all.
# Empty array will be serialized as [] so you can simply check it in the if condition.
# Second part of the condition just checks if it's not an empty string - that would mean some failure during changes job execution.
if: ${{ (!inputs.buildAll && needs.changes.outputs.BEAMPROJS != '[]' && needs.changes.outputs.BEAMPROJS != '') || inputs.buildAll }}
if: ${{ (needs.changes.outputs.BEAMPROJS != '[]' && needs.changes.outputs.BEAMPROJS != '') || inputs.buildAll }}

strategy:
max-parallel: 2
Expand Down

0 comments on commit 87ffe2d

Please sign in to comment.