File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ class DotnetCoreInstaller {
73
73
console . log ( 'Using cached tool' ) ;
74
74
}
75
75
// Need to set this so that .NET Core global tools find the right locations.
76
- core . exportVariable ( 'DOTNET_ROOT' , path . join ( toolPath , '../..' ) ) ;
76
+ core . exportVariable ( 'DOTNET_ROOT' , toolPath ) ;
77
77
// Prepend the tools path. instructs the agent to prepend for future tasks
78
78
core . addPath ( toolPath ) ;
79
79
} ) ;
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export class DotnetCoreInstaller {
59
59
}
60
60
61
61
// Need to set this so that .NET Core global tools find the right locations.
62
- core . exportVariable ( 'DOTNET_ROOT' , path . join ( toolPath , '../..' ) ) ;
62
+ core . exportVariable ( 'DOTNET_ROOT' , toolPath ) ;
63
63
64
64
// Prepend the tools path. instructs the agent to prepend for future tasks
65
65
core . addPath ( toolPath ) ;
You can’t perform that action at this time.
0 commit comments