mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-18 06:35:09 +00:00
In the scope of this commit such functionalty was added: 1. Installation directories for Windows and Ubuntu were changed to the folder with preinstalled .NET SDK's 2. Inner logic of interaction with MS dotnet installer scripts was changed 3. New input "dotnet-quality" was added Such functionality was cut out: 1. Input "include-prerelease"
10 lines
285 B
TypeScript
10 lines
285 B
TypeScript
import * as core from '@actions/core';
|
|
|
|
export const IS_WINDOWS = process.platform === 'win32';
|
|
export const IS_LINUX = process.platform === 'linux';
|
|
|
|
export function logWarning(message: string): void {
|
|
const warningPrefix = '[warning]';
|
|
core.info(`${warningPrefix}${message}`);
|
|
}
|