GeezerVison is showing github.com — Merge branch 'CacheVersionUpdateTo3' of https://github.com/e-korolevs… · actions/setup-java@821cc3d
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: action.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -54,7 +54,7 @@ inputs: | 54 | 54 | $GPG_PASSPHRASE.' | 55 | 55 | required: false | 56 | 56 | cache: | 57 | | - description: 'Name of the build platform to cache dependencies. It can be "maven" or "gradle".' | | 57 | + description: 'Name of the build platform to cache dependencies. It can be "maven", "gradle" or "sbt".' | 58 | 58 | required: false | 59 | 59 | job-status: | 60 | 60 | description: 'Workaround to pass job status to post job step. This variable is not intended for manual setting' | |
Collapse file Copy file name to clipboardExpand all lines: dist/cleanup/index.js +5-1Lines changed: 5 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -66179,7 +66179,11 @@ const supportedPackageManager = [ | 66179 | 66179 | path: [ | 66180 | 66180 | path_1.join(os_1.default.homedir(), '.ivy2', 'cache'), | 66181 | 66181 | path_1.join(os_1.default.homedir(), '.sbt'), | 66182 | | - getCoursierCachePath() | | 66182 | + getCoursierCachePath(), | | 66183 | + // Some files should not be cached to avoid resolution problems. | | 66184 | + // In particular the resolution of snapshots (ideological gap between maven/ivy). | | 66185 | + '!' + path_1.join(os_1.default.homedir(), '.sbt', '*.lock'), | | 66186 | + '!' + path_1.join(os_1.default.homedir(), '**', 'ivydata-*.properties') | 66183 | 66187 | ], | 66184 | 66188 | pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}'] | 66185 | 66189 | } | |
Collapse file Copy file name to clipboardExpand all lines: dist/setup/index.js +5-1Lines changed: 5 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -101384,7 +101384,11 @@ const supportedPackageManager = [ | 101384 | 101384 | path: [ | 101385 | 101385 | path_1.join(os_1.default.homedir(), '.ivy2', 'cache'), | 101386 | 101386 | path_1.join(os_1.default.homedir(), '.sbt'), | 101387 | | - getCoursierCachePath() | | 101387 | + getCoursierCachePath(), | | 101388 | + // Some files should not be cached to avoid resolution problems. | | 101389 | + // In particular the resolution of snapshots (ideological gap between maven/ivy). | | 101390 | + '!' + path_1.join(os_1.default.homedir(), '.sbt', '*.lock'), | | 101391 | + '!' + path_1.join(os_1.default.homedir(), '**', 'ivydata-*.properties') | 101388 | 101392 | ], | 101389 | 101393 | pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}'] | 101390 | 101394 | } | |
Collapse file Copy file name to clipboardExpand all lines: src/cache.ts +5-1Lines changed: 5 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -38,7 +38,11 @@ const supportedPackageManager: PackageManager[] = [ | 38 | 38 | path: [ | 39 | 39 | join(os.homedir(), '.ivy2', 'cache'), | 40 | 40 | join(os.homedir(), '.sbt'), | 41 | | - getCoursierCachePath() | | 41 | + getCoursierCachePath(), | | 42 | + // Some files should not be cached to avoid resolution problems. | | 43 | + // In particular the resolution of snapshots (ideological gap between maven/ivy). | | 44 | + '!' + join(os.homedir(), '.sbt', '*.lock'), | | 45 | + '!' + join(os.homedir(), '**', 'ivydata-*.properties') | 42 | 46 | ], | 43 | 47 | pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}'] | 44 | 48 | } | |
|