Repository navigation
Commit e40b6da
committed
ci: guard the .deb archive copy against an empty apt cache
An unmatched glob stays literal, so cp fails under set -e when
/var/cache/apt/archives holds no .deb. That happens when the runner
image already ships every package and nothing is downloaded. Guard the
copy with compgen so the step skips it instead of failing.1 parent a9fc9a1 commit e40b6da
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
133 | 137 | | |
134 | 138 | | |
135 | 139 | | |
| |||
0 commit comments