Commit 7af2b36
committed
fix(build): replace gh api with gh run list to avoid Windows path rewriting
- Replace 'gh api /repos/.../actions/runs' with 'gh run list --workflow=CI'
- Resolves Windows Git Bash path rewriting issue where /repos/ gets converted to C:/Program Files/Git/repos/
- Uses GitHub CLI's high-level command instead of low-level API call
- Improves cross-platform compatibility and code readability
- Directly queries CI workflow status for specific commit SHA1 parent 7f4d892 commit 7af2b36
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
0 commit comments