GitLab CI: When any job fails, cancel pipeline

this may not work as intended with jobs which are allowed to fail, but we'll have to wait and see
This commit is contained in:
James Groom 2024-04-24 04:18:01 +10:00 committed by GitHub
parent 6f98be104a
commit 887a66cc2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,10 @@ variables:
CI_HAWK_ARTIFACT_NAME_TAR: "$CI_HAWK_ARTIFACT_NAME.tar"
CI_HAWK_TMPARTIFACT_NAME: "BizHawk_tempbuild_${CI_COMMIT_REF_SLUG}_${CI_COMMIT_SHORT_SHA}"
workflow:
auto_cancel:
on_job_failure: all
stages:
- build
- test