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