File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -173,9 +173,17 @@ jobs:
173173 # if stub validation fails we want to upload the stubs for users to review
174174 if : success() || failure()
175175
176+ - name : Copy stubs to repo
177+ run : |
178+ [ -f ./wheelhouse/OpenImageIO/__init__.pyi ] && cp ./wheelhouse/OpenImageIO/__init__.pyi "$GITHUB_WORKSPACE/src/python/stubs/OpenImageIO/__init__.pyi"
179+ if : success() || failure()
180+
176181 # Commit all changed files back to the repository
177182 - uses : stefanzweifel/git-auto-commit-action@v6
178- commit_message : " Automatic update to python stubs"
183+ with :
184+ commit_message : " Automatic update to python stubs"
185+ # if stub validation fails we want to upload the stubs for users to review
186+ if : success() || failure()
179187
180188 # ---------------------------------------------------------------------------
181189 # Linux ARM Wheels
You can’t perform that action at this time.
0 commit comments