mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-20 22:32:07 +00:00
ci: enclose if clause in brackets
This commit is contained in:
parent
e8d04ec683
commit
7178ee718d
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user