mirror of
https://github.com/actions/setup-java.git
synced 2024-08-16 10:19:51 +02:00
Merge pull request #332 from fmeriaux/sbt-exclude-some-files
sbt-cache: don't cache some files.
This commit is contained in:
commit
2506d21b74
3 changed files with 15 additions and 3 deletions
6
dist/cleanup/index.js
vendored
6
dist/cleanup/index.js
vendored
|
@ -65448,7 +65448,11 @@ const supportedPackageManager = [
|
|||
path: [
|
||||
path_1.join(os_1.default.homedir(), '.ivy2', 'cache'),
|
||||
path_1.join(os_1.default.homedir(), '.sbt'),
|
||||
getCoursierCachePath()
|
||||
getCoursierCachePath(),
|
||||
// Some files should not be cached to avoid resolution problems.
|
||||
// In particular the resolution of snapshots (ideological gap between maven/ivy).
|
||||
'!' + 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}']
|
||||
}
|
||||
|
|
6
dist/setup/index.js
vendored
6
dist/setup/index.js
vendored
|
@ -100653,7 +100653,11 @@ const supportedPackageManager = [
|
|||
path: [
|
||||
path_1.join(os_1.default.homedir(), '.ivy2', 'cache'),
|
||||
path_1.join(os_1.default.homedir(), '.sbt'),
|
||||
getCoursierCachePath()
|
||||
getCoursierCachePath(),
|
||||
// Some files should not be cached to avoid resolution problems.
|
||||
// In particular the resolution of snapshots (ideological gap between maven/ivy).
|
||||
'!' + 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}']
|
||||
}
|
||||
|
|
|
@ -38,7 +38,11 @@ const supportedPackageManager: PackageManager[] = [
|
|||
path: [
|
||||
join(os.homedir(), '.ivy2', 'cache'),
|
||||
join(os.homedir(), '.sbt'),
|
||||
getCoursierCachePath()
|
||||
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,sbt}']
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue