File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -173,9 +173,21 @@ jobs:
173173 # if stub validation fails we want to upload the stubs for users to review
174174 if : success() || failure()
175175
176- # Commit all changed files back to the repository
177- - uses : stefanzweifel/git-auto-commit-action@v6
178- commit_message : " Automatic update to python stubs"
176+ - name : Copy stubs to repo
177+ run : |
178+ pwd
179+ tree .
180+ if [ -f ./wheelhouse/OpenImageIO/__init__.pyi ]; then
181+ echo "Copying stubs into repo"
182+ cp ./wheelhouse/OpenImageIO/__init__.pyi ./src/python/stubs/OpenImageIO/__init__.pyi
183+ fi
184+ if : failure()
185+
186+ - name : Commit changed stubs back to the repository
187+ uses : stefanzweifel/git-auto-commit-action@v6
188+ with :
189+ commit_message : " Automatic update to python stubs"
190+ if : failure()
179191
180192 # ---------------------------------------------------------------------------
181193 # Linux ARM Wheels
You can’t perform that action at this time.
0 commit comments