diff --git a/README.md b/README.md index e915f387..594bcd3c 100644 --- a/README.md +++ b/README.md @@ -124,9 +124,9 @@ See [action.yml](action.yml). | `purge` | | `false` | `false` | | `purge-primary-key` | | `false` | `""` | | `purge-prefixes` | | `false` | `""` | -| `purge-last-accessed` | | `false` | `""` | -| `purge-created` | | `false` | `""` | -| `upload-chunk-size` | | `false` | `""` | +| `purge-last-accessed` | | `false` | `""` | +| `purge-created` | | `false` | `""` | +| `upload-chunk-size` | | `false` | `""` | | `save-always` |

Run the post step to save the cache even if another step before fails.

| `false` | `false` | | `token` |

The action uses it to communicate with GitHub API.

| `false` | `${{ github.token }}` | diff --git a/action.yml b/action.yml index d87466cf..17f8c9ec 100644 --- a/action.yml +++ b/action.yml @@ -113,13 +113,13 @@ inputs: purge-last-accessed: description: | - Can have an effect only when `purge: true`. - - When a number, the action purges selected caches that were last accessed more than this number of seconds ago relative to the start of the `Post Restore` phase. + - When a non-negative number, the action purges selected caches that were last accessed more than this number of seconds ago relative to the start of the `Post Restore` phase. - Otherwise, this input has no effect. default: "" purge-created: description: | - Can have an effect only when `purge: true`. - - When a number, the action purges caches created more than this number of seconds ago relative to the start of the `Post Restore` phase. + - When a non-negative number, the action purges selected caches that were created more than this number of seconds ago relative to the start of the `Post Restore` phase. - Otherwise, this input has no effect. default: "" @@ -127,7 +127,7 @@ inputs: # The original default value may be provided here (https://github.com/actions/cache/issues/1292) # 32MB description: | - - When a number, the action uses it as the chunk size (in bytes) to split up large files during upload. + - When a non-negative number, the action uses it as the chunk size (in bytes) to split up large files during upload. - Otherwise, the action uses the default value `33554432` (32MB). default: "" diff --git a/save/README.md b/save/README.md index ecf70d8a..12d0f8a5 100644 --- a/save/README.md +++ b/save/README.md @@ -22,9 +22,9 @@ The save action saves a cache. It works similarly to the `cache` action except t | `purge` | | `false` | `false` | | `purge-primary-key` | | `false` | `""` | | `purge-prefixes` | | `false` | `""` | -| `purge-last-accessed` | | `false` | `""` | -| `purge-created` | | `false` | `""` | -| `upload-chunk-size` | | `false` | `""` | +| `purge-last-accessed` | | `false` | `""` | +| `purge-created` | | `false` | `""` | +| `upload-chunk-size` | | `false` | `""` | | `save-always` |

Run the post step to save the cache even if another step before fails.

| `false` | `false` | | `token` |

The action uses it to communicate with GitHub API.

| `false` | `${{ github.token }}` | diff --git a/save/action.yml b/save/action.yml index 3cba3032..57a934e7 100644 --- a/save/action.yml +++ b/save/action.yml @@ -79,13 +79,13 @@ inputs: purge-last-accessed: description: | - Can have an effect only when `purge: true`. - - When a number, the action purges selected caches that were last accessed more than this number of seconds ago relative to the start of the `Post Restore` phase. + - When a non-negative number, the action purges selected caches that were last accessed more than this number of seconds ago relative to the start of the `Post Restore` phase. - Otherwise, this input has no effect. default: "" purge-created: description: | - Can have an effect only when `purge: true`. - - When a number, the action purges caches created more than this number of seconds ago relative to the start of the `Post Restore` phase. + - When a non-negative number, the action purges selected caches that were created more than this number of seconds ago relative to the start of the `Post Restore` phase. - Otherwise, this input has no effect. default: "" @@ -93,7 +93,7 @@ inputs: # The original default value may be provided here (https://github.com/actions/cache/issues/1292) # 32MB description: | - - When a number, the action uses it as the chunk size (in bytes) to split up large files during upload. + - When a non-negative number, the action uses it as the chunk size (in bytes) to split up large files during upload. - Otherwise, the action uses the default value `33554432` (32MB). default: ""