mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-23 03:51:07 +07:00
7 lines
246 B
TypeScript
7 lines
246 B
TypeScript
export const IS_WINDOWS = process.platform === 'win32';
|
|
export const PLATFORM = ((): 'windows' | 'linux' | 'mac' => {
|
|
if (process.platform === 'win32') return 'windows';
|
|
if (process.platform === 'linux') return 'linux';
|
|
return 'mac';
|
|
})();
|