mirror of
https://github.com/actions/setup-java.git
synced 2024-11-09 02:03:42 -05: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.'
|
$GPG_PASSPHRASE.'
|
||||||
required: false
|
required: false
|
||||||
cache:
|
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
|
required: false
|
||||||
job-status:
|
job-status:
|
||||||
description: 'Workaround to pass job status to post job step. This variable is not intended for manual setting'
|
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: [
|
||||||
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
|
@ -101384,7 +101384,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 a new issue