Commit a0073bb
committed
ci: Fix missing repo error on wheels build CI (#1674)
The `tket-exts` and `tket-eccs` releases failed due to `gh release view`
not being able to find the default repo.
I'm not sure what changed, since we haven't modified that part of the
workflows in a bit (I though there was an env var with the repo
name...).
We fix that here by manually checking out the repo first, so `gh` can
see the `.git` dir.
Error:
https://github.com/Quantinuum/tket2/actions/runs/27346814007/job/80798143094#step:2:12
drive-by: Replace `if [ $? -ne 0 ]` with `if ! {cmd}` so we actually run
the `echo` before github aborts the job.1 parent 2ee0582 commit a0073bb
3 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
114 | | - | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
97 | | - | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| 296 | + | |
296 | 297 | | |
297 | 298 | | |
298 | 299 | | |
299 | 300 | | |
300 | | - | |
301 | | - | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| |||
0 commit comments