mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-18 06:35:09 +00:00
Change install dir for Windows
This commit is contained in:
parent
f23dfdc9ed
commit
973bdde015
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -357,7 +357,7 @@ class DotnetCoreInstaller {
|
||||
}
|
||||
}
|
||||
exports.DotnetCoreInstaller = DotnetCoreInstaller;
|
||||
DotnetCoreInstaller.installationDirectoryWindows = path.join(process.env['PROGRAMFILES'] + '', "dotnet");
|
||||
DotnetCoreInstaller.installationDirectoryWindows = `'${path.join(process.env['PROGRAMFILES'] + '', "dotnet")}'`;
|
||||
DotnetCoreInstaller.installationDirectoryLinux = '/usr/share/dotnet';
|
||||
function logWarning(message) {
|
||||
const warningPrefix = '[warning]';
|
||||
|
@ -83,7 +83,7 @@ export class DotnetVersionResolver {
|
||||
export class DotnetCoreInstaller {
|
||||
private version: string;
|
||||
private quality: string;
|
||||
static installationDirectoryWindows = path.join(process.env['PROGRAMFILES'] + '', "dotnet");
|
||||
static installationDirectoryWindows = `'${path.join(process.env['PROGRAMFILES'] + '', "dotnet")}'`;
|
||||
static installationDirectoryLinux = '/usr/share/dotnet';
|
||||
|
||||
constructor(version: string, quality: string) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user