mirror of
https://github.com/actions/setup-java
synced 2024-12-22 21:22:41 +00:00
sbt-cache: don't cache some files.
This commit is contained in:
parent
05b9e395e1
commit
3e3d8c490f
3 changed files with 12 additions and 3 deletions
5
dist/cleanup/index.js
vendored
5
dist/cleanup/index.js
vendored
|
@ -65448,7 +65448,10 @@ const supportedPackageManager = [
|
||||||
path: [
|
path: [
|
||||||
path_1.join(os_1.default.homedir(), '.ivy2', 'cache'),
|
path_1.join(os_1.default.homedir(), '.ivy2', 'cache'),
|
||||||
path_1.join(os_1.default.homedir(), '.sbt'),
|
path_1.join(os_1.default.homedir(), '.sbt'),
|
||||||
getCoursierCachePath()
|
getCoursierCachePath(),
|
||||||
|
//TODO: comment the reason of exclusions
|
||||||
|
'!' + path_1.join(os_1.default.homedir(), '.sbt', '*.lock'),
|
||||||
|
'!' + path_1.join(os_1.default.homedir(), '**', 'ivydata-*.properties')
|
||||||
],
|
],
|
||||||
pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
|
pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
|
||||||
}
|
}
|
||||||
|
|
5
dist/setup/index.js
vendored
5
dist/setup/index.js
vendored
|
@ -100653,7 +100653,10 @@ const supportedPackageManager = [
|
||||||
path: [
|
path: [
|
||||||
path_1.join(os_1.default.homedir(), '.ivy2', 'cache'),
|
path_1.join(os_1.default.homedir(), '.ivy2', 'cache'),
|
||||||
path_1.join(os_1.default.homedir(), '.sbt'),
|
path_1.join(os_1.default.homedir(), '.sbt'),
|
||||||
getCoursierCachePath()
|
getCoursierCachePath(),
|
||||||
|
//TODO: comment the reason of exclusions
|
||||||
|
'!' + path_1.join(os_1.default.homedir(), '.sbt', '*.lock'),
|
||||||
|
'!' + path_1.join(os_1.default.homedir(), '**', 'ivydata-*.properties')
|
||||||
],
|
],
|
||||||
pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
|
pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,7 +38,10 @@ const supportedPackageManager: PackageManager[] = [
|
||||||
path: [
|
path: [
|
||||||
join(os.homedir(), '.ivy2', 'cache'),
|
join(os.homedir(), '.ivy2', 'cache'),
|
||||||
join(os.homedir(), '.sbt'),
|
join(os.homedir(), '.sbt'),
|
||||||
getCoursierCachePath()
|
getCoursierCachePath(),
|
||||||
|
//TODO: comment the reason of exclusions
|
||||||
|
'!' + join(os.homedir(), '.sbt', '*.lock'),
|
||||||
|
'!' + join(os.homedir(), '**', 'ivydata-*.properties')
|
||||||
],
|
],
|
||||||
pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
|
pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue