File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ export default abstract class Installer {
4343 . createHash ( 'sha256' )
4444 . update ( requestedPackages )
4545 . digest ( 'base64' ) ;
46+ core . debug ( `Requested packages key: ${ this . requestedPackagesKey } ` ) ;
4647 this . saveBinCache = this . actionInputs . cache !== Cache . NOTHING ;
4748 }
4849
@@ -96,7 +97,9 @@ export default abstract class Installer {
9697 this . actionInputs . channel ,
9798 'cargo' ,
9899 'install' ,
99- '--list'
100+ '--list' ,
101+ '--root' ,
102+ SUBCOMMANDS_PATH
100103 ] )
101104 ) . stdout ;
102105 core . info ( `Computing key for packages:\n${ packageInformation } ` ) ;
@@ -156,6 +159,9 @@ export default abstract class Installer {
156159 this . actionInputs . channel ,
157160 'cargo' ,
158161 'uninstall' ,
162+ ...( this . actionInputs . cache === Cache . NOTHING
163+ ? [ ]
164+ : [ '--root' , ROOT_INSTALL_PATH ] ) ,
159165 'cargo-binstall'
160166 ] ) ;
161167 }
You can’t perform that action at this time.
0 commit comments