mirror of
https://code.forgejo.org/actions/setup-python
synced 2025-06-09 04:42:20 +02:00
feat: Add 'IS_MAC' util
This commit is contained in:
parent
9f1915a970
commit
467a981225
3 changed files with 5 additions and 2 deletions
|
@ -7,6 +7,7 @@ import * as exec from '@actions/exec';
|
|||
|
||||
export const IS_WINDOWS = process.platform === 'win32';
|
||||
export const IS_LINUX = process.platform === 'linux';
|
||||
export const IS_MAC = process.platform === 'darwin';
|
||||
export const WINDOWS_ARCHS = ['x86', 'x64'];
|
||||
export const WINDOWS_PLATFORMS = ['win32', 'win64'];
|
||||
const PYPY_VERSION_FILE = 'PYPY_VERSION';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue