mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Hardcoded success criteria for running canary job
refs https://github.com/TryGhost/DevOps/issues/57 - I'm not sure why but I think the `contains` are doing funky things and not allowing the build to run when we expect it to - switching to a slightly different if-statement should help with that
This commit is contained in:
parent
f26158b26b
commit
fd95eac710
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -780,7 +780,7 @@ jobs:
|
|||
]
|
||||
name: Canary
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ always() && needs.job_get_metadata.outputs.is_canary_branch == 'true' && !(contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped')) }}
|
||||
if: always() && needs.job_get_metadata.outputs.is_canary_branch == 'true' && needs.job_required_tests.result == 'success' && needs.job_get_metadata.result == 'success'
|
||||
steps:
|
||||
- name: Output needs (for debugging)
|
||||
run: echo "${{ toJson(needs) }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue