[READ-ONLY] Mirror of https://github.com/andrioid/setup-rclone-action. downloads and caches rclone for your workflows
0

Configure Feed

Select the types of activity you want to include in your feed.

disabling cache to make sure

+6 -6
+3 -3
dist/index.js
··· 3906 3906 } 3907 3907 const platform = `${import_os.default.platform()}-${arch}`; 3908 3908 let toolPath = import_tool_cache.default.find(FILENAME, version, arch); 3909 - if (!toolPath) { 3909 + if (!toolPath || true) { 3910 3910 const context = { 3911 3911 PLATFORM: platform, 3912 3912 RCLONE_VERSION: version ··· 3916 3916 }); 3917 3917 const dirName = `rclone-v${version}-${platform}`; 3918 3918 const downloadPath = await import_tool_cache.default.downloadTool(rendered); 3919 - const extractPath = await (0, import_tool_cache.extractZip)(downloadPath, "./"); 3920 - const extractedPath = import_path.default.join(dirName, FILENAME); 3919 + const extractPath = await (0, import_tool_cache.extractZip)(downloadPath); 3920 + const extractedPath = import_path.default.join(extractPath, dirName, FILENAME); 3921 3921 toolPath = await import_tool_cache.default.cacheFile(extractedPath, FILENAME, FILENAME, version); 3922 3922 } 3923 3923 (0, import_core.debug)("toolpath:" + toolPath);
+3 -3
index.ts
··· 20 20 const platform = `${os.platform()}-${arch}`; // Not tested with other than Linux 21 21 22 22 let toolPath = cache.find(FILENAME, version, arch); 23 - if (!toolPath) { 23 + if (!toolPath || true) { 24 24 const context: { [key: string]: string } = { 25 25 PLATFORM: platform, 26 26 RCLONE_VERSION: version, ··· 31 31 const dirName = `rclone-v${version}-${platform}`; 32 32 33 33 const downloadPath = await cache.downloadTool(rendered); 34 - const extractPath = await extractZip(downloadPath, "./"); 34 + const extractPath = await extractZip(downloadPath); 35 35 36 - const extractedPath = path.join(dirName, FILENAME); 36 + const extractedPath = path.join(extractPath, dirName, FILENAME); 37 37 38 38 toolPath = await cache.cacheFile( 39 39 extractedPath,