• Allison Browne's avatar
    Allow `when` keyword for `cache` in ci config · ff4252d4
    Allison Browne authored
    `cache:when` is used to cache on job failure, despite the failure.
    
    `cache:when` can be set to one of the following values:
    
    1. `on_success` - upload artifacts only when the job succeeds.
       This is the default.
    2. `on_failure` - upload artifacts only when the job fails.
    3. `always` - upload artifacts regardless of the job status.
    ff4252d4
18969-allow-optional-caching-in-failed-builds.yml 93 Bytes