ci: enclose if clause in brackets

This commit is contained in:
David Corvoysier 2025-02-21 10:06:39 +00:00
parent e8d04ec683
commit 7178ee718d

View File

@ -267,11 +267,7 @@ jobs:
group: ${{ github.workflow }}-${{ github.job }}-${{ needs.build-and-push.outputs.label }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
needs: precompile_static_models
if: |
always() &&
!contains(needs.*.result, 'failure') &&
!contains(needs.*.result, 'cancelled') &&
needs.build-and-push.outputs.runs_on != 'ubuntu-latest'
if: ${{ always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && needs.build-and-push.outputs.runs_on != 'ubuntu-latest' }}
runs-on:
group: ${{ needs.build-and-push.outputs.runs_on }}
env: