We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f62488 commit a494bf7Copy full SHA for a494bf7
readme_builder.py
@@ -51,7 +51,9 @@ def get_key_value(obj, key):
51
with open(os.environ['BUILDER_WORKFLOW_PATH'], "r") as stream:
52
try:
53
build_spec = yaml.safe_load(stream)
54
- platform = get_key_value(build_spec, "platform")
+ platform_guess = get_key_value(build_spec, "platform")
55
+ if platform_guess:
56
+ platform = platform_guess
57
strategy = get_key_value(build_spec, "strategy")
58
if strategy and 'matrix' in strategy:
59
if 'target_base' in strategy['matrix']:
0 commit comments