Commit f3aeb3d
Fix screenshot copy issue in pr-screenshot branch workflow
The script was trying to copy screenshots after switching to the pr-screenshot branch,
but that branch is an orphan branch without the test/ directory.
Fixed by:
- Copying screenshots to a temp directory BEFORE switching branches
- Using the temp directory as the source when copying to the PR folder
- Cleaning up the temp directory after copying
This ensures screenshots are always available regardless of which branch we're on.
Co-authored-by: richardthe3rd <573334+richardthe3rd@users.noreply.github.com>1 parent 69f201c commit f3aeb3d
1 file changed
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
26 | 37 | | |
27 | 38 | | |
28 | 39 | | |
| |||
73 | 84 | | |
74 | 85 | | |
75 | 86 | | |
76 | | - | |
77 | | - | |
78 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
79 | 93 | | |
80 | 94 | | |
81 | 95 | | |
| |||
0 commit comments