setup-java/src
Salman Chishti 974f2a8de3 feat: add cache-write input for read-only cache mode
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.
2026-03-09 05:35:59 -07:00
..
distributions Retry on HTTP 522 Connection timed out (#964) 2025-12-23 16:49:17 -06:00
auth.ts Add and configure ESLint and update configuration for Prettier (#458) 2023-03-09 14:49:35 +02:00
cache.ts fix: add arch to cache key (#664) 2024-09-19 08:51:30 -05:00
cleanup-java.ts feat: add cache-write input for read-only cache mode 2026-03-09 05:35:59 -07:00
constants.ts feat: implement cache-dependency-path option to control caching dependency (#499) 2023-11-22 16:43:14 +01:00
gpg.ts Add and configure ESLint and update configuration for Prettier (#458) 2023-03-09 14:49:35 +02:00
setup-java.ts Added .tool-versions file support (#606) 2024-03-12 08:45:42 -05:00
toolchains.ts Bump prettier from 2.8.8 to 3.6.2 (#873) 2025-09-09 10:02:46 -05:00
util.ts feat: Add support for .sdkmanrc file in java-version-file parameter (#736) 2025-11-25 13:36:29 -06:00