File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -54,17 +54,25 @@ jobs:
54
54
- 'pyproject.toml'
55
55
- 'invokeai/**'
56
56
57
+ - name : setup uv
58
+ if : ${{ steps.changed-files.outputs.src_any_changed == 'true' || inputs.always_run == true }}
59
+ uses : astral-sh/setup-uv@v5
60
+ with :
61
+ version : ' 0.6.4'
62
+ enable-cache : true
63
+ python-version : ' 3.11'
64
+
57
65
- name : setup python
58
66
if : ${{ steps.changed-files.outputs.src_any_changed == 'true' || inputs.always_run == true }}
59
67
uses : actions/setup-python@v5
60
68
with :
61
- python-version : ' 3.10'
62
- cache : pip
63
- cache-dependency-path : pyproject.toml
69
+ python-version : ' 3.11'
64
70
65
- - name : install python dependencies
71
+ - name : install dependencies
66
72
if : ${{ steps.changed-files.outputs.src_any_changed == 'true' || inputs.always_run == true }}
67
- run : pip3 install --use-pep517 --editable="."
73
+ env :
74
+ UV_INDEX : ${{ matrix.extra-index-url }}
75
+ run : uv pip install --editable .
68
76
69
77
- name : install frontend dependencies
70
78
if : ${{ steps.changed-files.outputs.src_any_changed == 'true' || inputs.always_run == true }}
77
85
78
86
- name : generate schema
79
87
if : ${{ steps.changed-files.outputs.src_any_changed == 'true' || inputs.always_run == true }}
80
- run : make frontend- typegen
88
+ run : cd invokeai/ frontend/web && uv run ../../../scripts/generate_openapi_schema.py | pnpm typegen
81
89
shell : bash
82
90
83
91
- name : compare files
You can’t perform that action at this time.
0 commit comments