File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414name : CI
1515
1616jobs :
17- build :
17+ generate :
1818 runs-on : ubuntu-latest
1919 steps :
2020 - uses : actions/checkout@v7
@@ -28,17 +28,49 @@ jobs:
2828 with :
2929 bundle : openapi-legacy.yaml
3030
31+ - run : bash ./generate.sh openapi-legacy.yaml "$(yq -r '.info.version' openapi-legacy.yaml)"
32+
33+ - uses : actions/upload-artifact@v7
34+ with :
35+ name : generated-python
36+ path : .
37+ include-hidden-files : true
38+
39+ build :
40+ needs : generate
41+ runs-on : ubuntu-latest
42+ steps :
43+ - uses : actions/download-artifact@v8
44+ with :
45+ name : generated-python
46+
3147 - uses : actions/setup-python@v7
3248 with :
3349 python-version : ' 3.14'
3450 cache : pip
3551
36- - run : bash ./generate.sh openapi-legacy.yaml "$(yq -r '.info.version' openapi-legacy.yaml)"
37-
3852 - run : python -m pip install build
3953
4054 - run : python -m build
4155
56+ - uses : actions/upload-artifact@v7
57+ with :
58+ name : dist-python
59+ path : dist
60+
61+ install :
62+ needs : build
63+ runs-on : ubuntu-latest
64+ steps :
65+ - uses : actions/download-artifact@v8
66+ with :
67+ name : dist-python
68+ path : dist
69+
70+ - uses : actions/setup-python@v7
71+ with :
72+ python-version : ' 3.14'
73+
4274 - run : python -m pip install dist/*.whl
4375
4476 - run : python -c "import vrchatapi; print(vrchatapi.__name__)"
You can’t perform that action at this time.
0 commit comments