mirror of
https://github.com/actions/setup-java.git
synced 2024-11-13 21:48:05 +00: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
6
dist/cleanup/index.js
vendored
6
dist/cleanup/index.js
vendored
@ -65448,7 +65448,11 @@ 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(),
|
||||||
|
// 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}']
|
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: [
|
||||||
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(),
|
||||||
|
// 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}']
|
pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,11 @@ 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(),
|
||||||
|
// 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}']
|
pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user