mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-20 07:35:10 +00:00
Use proper environment variable
This commit is contained in:
parent
0da8b9498b
commit
240b4913cc
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -16778,7 +16778,7 @@ class DotnetCoreInstaller {
|
||||
else {
|
||||
if (IS_WINDOWS) {
|
||||
// This is the default set in install-dotnet.ps1
|
||||
core.addPath(path.join(process.env['%LocalAppData'] + '', 'Microsoft', 'dotnet'));
|
||||
core.addPath(path.join(process.env['LocalAppData'] + '', 'Microsoft', 'dotnet'));
|
||||
}
|
||||
else {
|
||||
// This is the default set in install-dotnet.sh
|
||||
|
@ -167,7 +167,7 @@ export class DotnetCoreInstaller {
|
||||
if (IS_WINDOWS) {
|
||||
// This is the default set in install-dotnet.ps1
|
||||
core.addPath(
|
||||
path.join(process.env['%LocalAppData'] + '', 'Microsoft', 'dotnet')
|
||||
path.join(process.env['LocalAppData'] + '', 'Microsoft', 'dotnet')
|
||||
);
|
||||
} else {
|
||||
// This is the default set in install-dotnet.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user