Fixing the condition ?

This commit is contained in:
Nicolas Patry 2025-02-21 09:47:11 +01:00
parent 262abb8223
commit 45787f15bb
No known key found for this signature in database
GPG Key ID: 4242CEF24CB6DBF9

View File

@ -267,7 +267,11 @@ 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: 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: