mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-25 23:16:06 +00:00
Cache fallback with rolling time based expiration
This commit is contained in:
parent
c2ac33f2c6
commit
f01118b9a5
6 changed files with 40 additions and 17 deletions
|
@ -25,6 +25,8 @@ inputs:
|
|||
description: 'Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm.'
|
||||
cache-dependency-path:
|
||||
description: 'Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies.'
|
||||
cache-invalidate-after-days:
|
||||
description: 'Used to control how often the fallback cache is invalidated automatically.'
|
||||
# TODO: add input to control forcing to pull from cloud or dist.
|
||||
# escape valve for someone having issues or needing the absolute latest which isn't cached yet
|
||||
outputs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue