mirror of
https://github.com/actions/setup-java
synced 2024-12-22 13:12:43 +00:00
Merge branch 'main' into CacheVersionUpdateTo3
This commit is contained in:
commit
a0500669b7
4 changed files with 16 additions and 4 deletions
|
@ -54,7 +54,7 @@ inputs:
|
|||
$GPG_PASSPHRASE.'
|
||||
required: false
|
||||
cache:
|
||||
description: 'Name of the build platform to cache dependencies. It can be "maven" or "gradle".'
|
||||
description: 'Name of the build platform to cache dependencies. It can be "maven", "gradle" or "sbt".'
|
||||
required: false
|
||||
job-status:
|
||||
description: 'Workaround to pass job status to post job step. This variable is not intended for manual setting'
|
||||
|
|
6
dist/cleanup/index.js
vendored
6
dist/cleanup/index.js
vendored
|
@ -66179,7 +66179,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
|
@ -101384,7 +101384,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