File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,11 @@ def writeHeader(checkStream):
6565 with open (file , 'r' ) as checkStream :
6666 checkSpecification = yaml .load (checkStream )
6767 matrix = []
68+
69+ workflowInputs = {}
70+ if 'inputs' in checkSpecification :
71+ workflowInputs = checkSpecification ['inputs' ]
72+
6873 excludedOsesAndVersions = checkSpecification .get ('excludeOsAndVersionCombination' , [])
6974 for version in checkSpecification .get ('versions' , defaultTestVersions ):
7075 if version == "latest" :
@@ -174,10 +179,6 @@ def writeHeader(checkStream):
174179 'checkName' : checkName
175180 })
176181
177- workflowInputs = {}
178- if 'inputs' in checkSpecification :
179- workflowInputs = checkSpecification ['inputs' ]
180-
181182 raw_file = this_dir .parent / ".github" / "workflows" / f"__{ checkName } .yml.raw"
182183 with open (raw_file , 'w' ) as output_stream :
183184 writeHeader (output_stream )
You can’t perform that action at this time.
0 commit comments