Loading README.md +2 Changes for README.md: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -70,6 +70,8 @@ The action has a built-in functionality for caching and restoring dependencies. - gradle: `**/*.gradle*`, `**/gradle-wrapper.properties` - maven: `**/pom.xml` The workflow output `cache-hit` is set to indicate if an exact match was found for the key [as actions/cache does](https://github.com/actions/cache/tree/main#outputs). The cache input is optional, and caching is turned off by default. #### Caching gradle dependencies Loading dist/cleanup/index.js +2 Changes for dist/cleanup/index.js: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -61925,9 +61925,11 @@ function restore(id) { ]); if (matchedKey) { core.saveState(CACHE_MATCHED_KEY, matchedKey); core.setOutput('cache-hit', matchedKey === primaryKey); core.info(`Cache restored from key: ${matchedKey}`); } else { core.setOutput('cache-hit', false); core.info(`${packageManager.id} cache is not found`); } }); dist/setup/index.js +2 Changes for dist/setup/index.js: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -18662,9 +18662,11 @@ function restore(id) { ]); if (matchedKey) { core.saveState(CACHE_MATCHED_KEY, matchedKey); core.setOutput('cache-hit', matchedKey === primaryKey); core.info(`Cache restored from key: ${matchedKey}`); } else { core.setOutput('cache-hit', false); core.info(`${packageManager.id} cache is not found`); } }); src/cache.ts +2 Changes for src/cache.ts: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -77,8 +77,10 @@ export async function restore(id: string) { ]); if (matchedKey) { core.saveState(CACHE_MATCHED_KEY, matchedKey); core.setOutput('cache-hit', matchedKey === primaryKey); core.info(`Cache restored from key: ${matchedKey}`); } else { core.setOutput('cache-hit', false); core.info(`${packageManager.id} cache is not found`); } } Loading Loading
README.md +2 Changes for README.md: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -70,6 +70,8 @@ The action has a built-in functionality for caching and restoring dependencies. - gradle: `**/*.gradle*`, `**/gradle-wrapper.properties` - maven: `**/pom.xml` The workflow output `cache-hit` is set to indicate if an exact match was found for the key [as actions/cache does](https://github.com/actions/cache/tree/main#outputs). The cache input is optional, and caching is turned off by default. #### Caching gradle dependencies Loading
dist/cleanup/index.js +2 Changes for dist/cleanup/index.js: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -61925,9 +61925,11 @@ function restore(id) { ]); if (matchedKey) { core.saveState(CACHE_MATCHED_KEY, matchedKey); core.setOutput('cache-hit', matchedKey === primaryKey); core.info(`Cache restored from key: ${matchedKey}`); } else { core.setOutput('cache-hit', false); core.info(`${packageManager.id} cache is not found`); } });
dist/setup/index.js +2 Changes for dist/setup/index.js: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -18662,9 +18662,11 @@ function restore(id) { ]); if (matchedKey) { core.saveState(CACHE_MATCHED_KEY, matchedKey); core.setOutput('cache-hit', matchedKey === primaryKey); core.info(`Cache restored from key: ${matchedKey}`); } else { core.setOutput('cache-hit', false); core.info(`${packageManager.id} cache is not found`); } });
src/cache.ts +2 Changes for src/cache.ts: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -77,8 +77,10 @@ export async function restore(id: string) { ]); if (matchedKey) { core.saveState(CACHE_MATCHED_KEY, matchedKey); core.setOutput('cache-hit', matchedKey === primaryKey); core.info(`Cache restored from key: ${matchedKey}`); } else { core.setOutput('cache-hit', false); core.info(`${packageManager.id} cache is not found`); } } Loading