Skip to content

Commit

Permalink
Do not extract cache on job failure
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Borchert <me@borchero.com>
  • Loading branch information
borchero committed May 4, 2024
1 parent 336b023 commit d2857e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ inputs:
skip-extraction:
default: "false"
description: "Skip the extraction of the cache from the docker container"
save-always:
default: "false"
description: "Run the post step to save the cache even if another step before fails"
runs:
using: 'node20'
main: 'dist/index.js'
post: 'dist/index.js'
post-if: 'success() || github.event.inputs.save-always'

0 comments on commit d2857e6

Please sign in to comment.