mirror of
https://github.com/actions/setup-java.git
synced 2026-06-23 00:09:42 +00:00
Add Maven Wrapper cache feature (#1027)
* add Maven Wrapper distribution caching * update test case --------- Co-authored-by: Bruno Borges <bruno.borges@gmail.com>
This commit is contained in:
Vendored
+5
-2
@@ -77637,9 +77637,12 @@ const CACHE_KEY_PREFIX = 'setup-java';
|
||||
const supportedPackageManager = [
|
||||
{
|
||||
id: 'maven',
|
||||
path: [(0, path_1.join)(os_1.default.homedir(), '.m2', 'repository')],
|
||||
path: [
|
||||
(0, path_1.join)(os_1.default.homedir(), '.m2', 'repository'),
|
||||
(0, path_1.join)(os_1.default.homedir(), '.m2', 'wrapper', 'dists')
|
||||
],
|
||||
// https://github.com/actions/cache/blob/0638051e9af2c23d10bb70fa9beffcad6cff9ce3/examples.md#java---maven
|
||||
pattern: ['**/pom.xml']
|
||||
pattern: ['**/pom.xml', '**/.mvn/wrapper/maven-wrapper.properties']
|
||||
},
|
||||
{
|
||||
id: 'gradle',
|
||||
|
||||
Reference in New Issue
Block a user