Skip to content

Commit 748b8b2

Browse files
committed
Simplify command formatting in GHA
1 parent 1f7c2d2 commit 748b8b2

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/generate-python.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,11 @@ jobs:
4242

4343
- name: Generate All-optional Python models
4444
run: >
45-
uvx
46-
--with datamodel-code-generator
47-
-- bash bin/generate_python.sh
48-
--output=generated/python/datadoc_model/datadoc_model/all_optional/model.py
49-
--force-optional
45+
uvx --with datamodel-code-generator -- bash bin/generate_python.sh --output=generated/python/datadoc_model/datadoc_model/all_optional/model.py --force-optional
5046
5147
- name: Generate Required Python models
5248
run: >
53-
uvx
54-
--with datamodel-code-generator
55-
-- bash bin/generate_python.sh
56-
--output=generated/python/datadoc_model/datadoc_model/required/model.py
57-
--force-optional
49+
uvx --with datamodel-code-generator -- bash bin/generate_python.sh --output=generated/python/datadoc_model/datadoc_model/required/model.py
5850
5951
- name: Check for modified files
6052
id: git-check

0 commit comments

Comments
 (0)