mirror of
https://github.com/actions/setup-python.git
synced 2024-11-26 02:11:27 +00:00
34 lines
629 B
Text
34 lines
629 B
Text
{{# def.definitions }}
|
|
{{# def.errors }}
|
|
{{# def.setupKeyword }}
|
|
{{# def.setupNextLevel }}
|
|
|
|
{{
|
|
var $currentBaseId = $it.baseId
|
|
, $allSchemasEmpty = true;
|
|
}}
|
|
|
|
{{~ $schema:$sch:$i }}
|
|
{{? {{# def.nonEmptySchema:$sch }} }}
|
|
{{
|
|
$allSchemasEmpty = false;
|
|
$it.schema = $sch;
|
|
$it.schemaPath = $schemaPath + '[' + $i + ']';
|
|
$it.errSchemaPath = $errSchemaPath + '/' + $i;
|
|
}}
|
|
|
|
{{# def.insertSubschemaCode }}
|
|
|
|
{{# def.ifResultValid }}
|
|
{{?}}
|
|
{{~}}
|
|
|
|
{{? $breakOnError }}
|
|
{{? $allSchemasEmpty }}
|
|
if (true) {
|
|
{{??}}
|
|
{{= $closingBraces.slice(0,-1) }}
|
|
{{?}}
|
|
{{?}}
|
|
|
|
{{# def.cleanUp }}
|