• 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
cache_spec.rb 5.67 KB