mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-15 05:05:08 +00:00
fix: change relative path to install scripts
This commit is contained in:
parent
3fcae62228
commit
061d7afe7f
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@ -71290,7 +71290,7 @@ class DotnetCoreInstaller {
|
|||||||
];
|
];
|
||||||
const scriptName = utils_1.IS_WINDOWS ? 'install-dotnet.ps1' : 'install-dotnet.sh';
|
const scriptName = utils_1.IS_WINDOWS ? 'install-dotnet.ps1' : 'install-dotnet.sh';
|
||||||
const escapedScript = path_1.default
|
const escapedScript = path_1.default
|
||||||
.join(__dirname, '..', 'externals', scriptName)
|
.join(__dirname, '..', '..', 'externals', scriptName)
|
||||||
.replace(/'/g, "''");
|
.replace(/'/g, "''");
|
||||||
let scriptArguments;
|
let scriptArguments;
|
||||||
let scriptPath = '';
|
let scriptPath = '';
|
||||||
|
@ -188,7 +188,7 @@ export class DotnetCoreInstaller {
|
|||||||
];
|
];
|
||||||
const scriptName = IS_WINDOWS ? 'install-dotnet.ps1' : 'install-dotnet.sh';
|
const scriptName = IS_WINDOWS ? 'install-dotnet.ps1' : 'install-dotnet.sh';
|
||||||
const escapedScript = path
|
const escapedScript = path
|
||||||
.join(__dirname, '..', 'externals', scriptName)
|
.join(__dirname, '..', '..', 'externals', scriptName)
|
||||||
.replace(/'/g, "''");
|
.replace(/'/g, "''");
|
||||||
let scriptArguments: string[];
|
let scriptArguments: string[];
|
||||||
let scriptPath = '';
|
let scriptPath = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user