Skip to content

Commit 73b70a4

Browse files
committed
fix
Signed-off-by: Chad Dombrova <[email protected]>
1 parent 6ebf3e7 commit 73b70a4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/wheel.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)