Unverified Commit fa01820a authored by Florian Meriaux's avatar Florian Meriaux
Browse files

add documentation notes

parent 3e3d8c49
Loading
Loading
Loading
Loading
+1 −1
Changes for dist/cleanup/index.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -65449,8 +65449,8 @@ const supportedPackageManager = [
            path_1.join(os_1.default.homedir(), '.ivy2', 'cache'),
            path_1.join(os_1.default.homedir(), '.sbt'),
            getCoursierCachePath(),
            //TODO: comment the reason of exclusions
            '!' + path_1.join(os_1.default.homedir(), '.sbt', '*.lock'),
            // Avoid SNAPSHOT resolution problems by forcing the deletion of these files (due to ideological gaps in maven/ivy).
            '!' + path_1.join(os_1.default.homedir(), '**', 'ivydata-*.properties')
        ],
        pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
+1 −1
Changes for dist/setup/index.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -100654,8 +100654,8 @@ const supportedPackageManager = [
            path_1.join(os_1.default.homedir(), '.ivy2', 'cache'),
            path_1.join(os_1.default.homedir(), '.sbt'),
            getCoursierCachePath(),
            //TODO: comment the reason of exclusions
            '!' + path_1.join(os_1.default.homedir(), '.sbt', '*.lock'),
            // Avoid SNAPSHOT resolution problems by forcing the deletion of these files (due to ideological gaps in maven/ivy).
            '!' + path_1.join(os_1.default.homedir(), '**', 'ivydata-*.properties')
        ],
        pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
+3 −3
Changes for src/cache.ts: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -39,7 +39,8 @@ const supportedPackageManager: PackageManager[] = [
      join(os.homedir(), '.ivy2', 'cache'),
      join(os.homedir(), '.sbt'),
      getCoursierCachePath(),
      //TODO: comment the reason of exclusions
      // 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')
    ],
@@ -84,8 +85,7 @@ export async function restore(id: string) {
  core.saveState(STATE_CACHE_PRIMARY_KEY, primaryKey);
  if (primaryKey.endsWith('-')) {
    throw new Error(
      `No file in ${process.cwd()} matched to [${
        packageManager.pattern
      `No file in ${process.cwd()} matched to [${packageManager.pattern
      }], make sure you have checked out the target repository`
    );
  }