File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -30784,7 +30784,12 @@ async function main() {
3078430784
3078530785 const extractPath = await _actions_tool_cache__WEBPACK_IMPORTED_MODULE_1__.extractTar(tarPath, undefined, ["xzC"]);
3078630786
30787- cachedPath = await _actions_tool_cache__WEBPACK_IMPORTED_MODULE_1__.cacheDir(extractPath, "aiken", version);
30787+ cachedPath = await _actions_tool_cache__WEBPACK_IMPORTED_MODULE_1__.cacheDir(useCargoDist
30788+ ? _actions_core__WEBPACK_IMPORTED_MODULE_0__.toPlatformPath(`${extractPath}/aiken-${arch}-${platform}`)
30789+ : extractPath,
30790+ "aiken",
30791+ version
30792+ );
3078830793 }
3078930794
3079030795 _actions_core__WEBPACK_IMPORTED_MODULE_0__.addPath(cachedPath);
Original file line number Diff line number Diff line change @@ -52,7 +52,12 @@ async function main() {
5252
5353 const extractPath = await tc . extractTar ( tarPath , undefined , [ "xzC" ] ) ;
5454
55- cachedPath = await tc . cacheDir ( extractPath , "aiken" , version ) ;
55+ cachedPath = await tc . cacheDir ( useCargoDist
56+ ? core . toPlatformPath ( `${ extractPath } /aiken-${ arch } -${ platform } ` )
57+ : extractPath ,
58+ "aiken" ,
59+ version
60+ ) ;
5661 }
5762
5863 core . addPath ( cachedPath ) ;
You can’t perform that action at this time.
0 commit comments