You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently my team uses a different M2 repository path for Maven for some specific reasons.
The current implementation of the action have the paths hardcoded and can't be changed with an input:
constsupportedPackageManager: PackageManager[]=[{id: 'maven',path: [join(os.homedir(),'.m2','repository')],// https://github.com/actions/cache/blob/0638051e9af2c23d10bb70fa9beffcad6cff9ce3/examples.md#java---mavenpattern: ['**/pom.xml']},{id: 'gradle',path: [join(os.homedir(),'.gradle','caches'),join(os.homedir(),'.gradle','wrapper')],// https://github.com/actions/cache/blob/0638051e9af2c23d10bb70fa9beffcad6cff9ce3/examples.md#java---gradlepattern: ['**/*.gradle*','**/gradle-wrapper.properties','buildSrc/**/Versions.kt','buildSrc/**/Dependencies.kt','gradle/*.versions.toml','**/versions.properties']},{id: 'sbt',path: [join(os.homedir(),'.ivy2','cache'),join(os.homedir(),'.sbt'),getCoursierCachePath(),// Some files should not be cached to avoid resolution problems.// In particular the resolution of snapshots (ideological gap between maven/ivy).'!'+join(os.homedir(),'.sbt','*.lock'),'!'+join(os.homedir(),'**','ivydata-*.properties')],pattern: ['**/*.sbt','**/project/build.properties','**/project/**.scala','**/project/**.sbt']}];
Justification:
Allow user to adapt to its own environment.
Are you willing to submit a PR?
Yes!
Should the input be a list? How the list will be added to the input parameter? It will be one parameter for each cache type or a single parameter to override the default path list?
The text was updated successfully, but these errors were encountered:
Description:
Currently my team uses a different M2 repository path for Maven for some specific reasons.
The current implementation of the action have the paths hardcoded and can't be changed with an input:
Justification:
Allow user to adapt to its own environment.
Are you willing to submit a PR?
Yes!
The text was updated successfully, but these errors were encountered: