Skip to content

Commit

Permalink
Add error-on-s3-exception option
Browse files Browse the repository at this point in the history
This adds a new boolean option named `error-on-s3-exception` to be able
to mark the job as failed if the cache could not be restored.

This can be combined with a retry-action so we can use it in some situations
where we want to retry the job when the cache could not be restored.
  • Loading branch information
beagleknight committed Aug 1, 2024
1 parent 2ea7317 commit 4aab15f
Show file tree
Hide file tree
Showing 4 changed files with 10,539 additions and 3,902 deletions.
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ inputs:
description: "Use github actions/cache as fallback"
required: false
default: "true"
error-on-s3-exception:
description: "Whether to mark the job as failed or not depending on S3 exceptions."
required: false
default: "false"
# zip-option:
# description: zip options
# required: false
Expand Down
Loading

0 comments on commit 4aab15f

Please sign in to comment.