mirror of
https://github.com/actions/setup-node.git
synced 2026-03-14 10:04:19 +00:00
Add a 'cache-write' input (default: true) that controls whether the cache is saved at the end of the workflow. When set to 'false', the action will restore cached dependencies but skip saving, providing a read-only cache mode. This is useful for preventing cache poisoning attacks from untrusted PR builds while still benefiting from cached dependencies. |
||
|---|---|---|
| .. | ||
| index.js | ||