Skip to content

Commit

Permalink
Cache Maven Wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
yeikel committed Feb 12, 2023
1 parent 828a330 commit edec6fe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ interface PackageManager {
const supportedPackageManager: PackageManager[] = [
{
id: 'maven',
path: [join(os.homedir(), '.m2', 'repository')],
path: [join(os.homedir(), '.m2', 'repository'),join(os.homedir(), '.mvn', 'wrapper')],
// https://github.com/actions/cache/blob/0638051e9af2c23d10bb70fa9beffcad6cff9ce3/examples.md#java---maven
pattern: ['**/pom.xml']
pattern: [
'**/pom.xml',
'**/*.mvn*',
]
},
{
id: 'gradle',
Expand Down

0 comments on commit edec6fe

Please sign in to comment.