mirror of
https://github.com/actions/setup-python.git
synced 2025-07-02 23:53:47 +00:00
Debug
This commit is contained in:
parent
5d1b76c2b8
commit
29adb1aa30
2 changed files with 8 additions and 2 deletions
|
@ -210,10 +210,13 @@ export function isArchPresentForWindows(item: any, architecture: string) {
|
|||
if (architecture === 'x32') {
|
||||
architecture = 'x86';
|
||||
}
|
||||
return item.files.some(
|
||||
core.info(`DEBUG: pypy: ${item.pypy_version}, python: ${item.python_version}, arch: ${item.files.arch}`)
|
||||
const result = item.files.some(
|
||||
(file: any) =>
|
||||
file.arch === architecture && WINDOWS_PLATFORMS.includes(file.platform)
|
||||
);
|
||||
core.info(`result: ${result}`)
|
||||
return result
|
||||
}
|
||||
|
||||
export function isArchPresentForMacOrLinux(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue