mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-20 23:50:19 +00:00
Run Prettier
This commit is contained in:
parent
defd795883
commit
b57469b036
@ -76,7 +76,7 @@ export class DotNetVersionInfo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class DotnetCoreInstaller {
|
export class DotnetCoreInstaller {
|
||||||
constructor(version: string, architecture:string) {
|
constructor(version: string, architecture: string) {
|
||||||
this.version = version;
|
this.version = version;
|
||||||
this.architecture = architecture;
|
this.architecture = architecture;
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,10 @@ export async function run() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (version) {
|
if (version) {
|
||||||
const dotnetInstaller = new installer.DotnetCoreInstaller(version, architecture);
|
const dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||||
|
version,
|
||||||
|
architecture
|
||||||
|
);
|
||||||
await dotnetInstaller.installDotnet();
|
await dotnetInstaller.installDotnet();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user