diff --git a/.github/workflows/build_linux_client.yml b/.github/workflows/build_linux_client.yml index 60e923ec..d23afeb8 100644 --- a/.github/workflows/build_linux_client.yml +++ b/.github/workflows/build_linux_client.yml @@ -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 diff --git a/.github/workflows/build_linux_server.yml b/.github/workflows/build_linux_server.yml index fab3a8a7..a49037bb 100644 --- a/.github/workflows/build_linux_server.yml +++ b/.github/workflows/build_linux_server.yml @@ -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 diff --git a/.github/workflows/build_windows_client.yml b/.github/workflows/build_windows_client.yml index b81a527a..77550be5 100644 --- a/.github/workflows/build_windows_client.yml +++ b/.github/workflows/build_windows_client.yml @@ -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