mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-14 20:55:11 +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 escapedScript = path_1.default
|
||||
.join(__dirname, '..', 'externals', scriptName)
|
||||
.join(__dirname, '..', '..', 'externals', scriptName)
|
||||
.replace(/'/g, "''");
|
||||
let scriptArguments;
|
||||
let scriptPath = '';
|
||||
|
@ -188,7 +188,7 @@ export class DotnetCoreInstaller {
|
||||
];
|
||||
const scriptName = IS_WINDOWS ? 'install-dotnet.ps1' : 'install-dotnet.sh';
|
||||
const escapedScript = path
|
||||
.join(__dirname, '..', 'externals', scriptName)
|
||||
.join(__dirname, '..', '..', 'externals', scriptName)
|
||||
.replace(/'/g, "''");
|
||||
let scriptArguments: string[];
|
||||
let scriptPath = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user