File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1+ name : Update CloudFormation schemas
12on :
23 schedule :
34 - cron : ' */5 * * * *'
@@ -11,17 +12,17 @@ jobs:
1112 with :
1213 repository : aws-cloudformation/aws-cloudformation-template-schema
1314 path : aws-cloudformation-template-schema
14- - uses : actions/setup-java@v3
15+ ref : main
16+ - uses : actions/setup-python@v4
1517 with :
16- java-version : 8
18+ python-version : ' 3.9'
19+ - name : Install Poetry
20+ uses : snok/install-poetry@v1
1721 - run : |
1822 cd aws-cloudformation-template-schema
19- mvn package
20- echo 'settings:
21- regions: [us-east-1]
22- output: out' > cfg.yml
23- java -jar target/aws-cloudformation-template-schema-1.0-SNAPSHOT-jar-with-dependencies.jar --config-file cfg.yml
24- mv out/us-east-1/all-spec.json ../schema/all-spec.json
23+ poetry install
24+ poetry run cfn-template-schema generate --output-folder specs --type language-server
25+ mv specs/* ../server/schema/
2526 cd ..
2627 rm -rf aws-cloudformation-template-schema
2728 - uses : peter-evans/create-pull-request@v4
You can’t perform that action at this time.
0 commit comments