diff --git a/src/lint.py b/src/lint.py index fc495d6..77384c7 100644 --- a/src/lint.py +++ b/src/lint.py @@ -173,7 +173,7 @@ def is_default(validator, properties, instance, schema): print(f"::error file={build}::The build.json file is missing") sys.exit(1) -if "build_from" in build_configuration and set(configuration["arch"]) != set(build_configuration["build_from"]): +if "build_from" in build_configuration and not isinstance(build_configuration["build_from"], str) and set(configuration["arch"]) != set(build_configuration["build_from"]): print(f"::error file={build}::Architectures in config and build do not match") exit_code = 1