Skip to content

Commit 592672e

Browse files
author
Yishuai Li
committed
ci: skip cppo_ocamlbuild in dependants
1 parent ba7ea9b commit 592672e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ jobs:
147147
run: |
148148
PACKAGES=$(opam list -s -V --color=never --installable --depends-on cppo,cppo_ocamlbuild | \
149149
awk '{
150+
if ($0 ~ /^cppo_ocamlbuild\./) next
150151
line = $0
151152
dot = match(line, /\./)
152153
pkg = substr(line, 1, dot - 1)
@@ -184,7 +185,9 @@ jobs:
184185
foreach ($line in $rawPackages) {
185186
if ($line -match '^(.*?)[.]') {
186187
$pkg = $matches[1]
187-
$packageMap[$pkg] = $line
188+
if ($pkg -ne "cppo_ocamlbuild") {
189+
$packageMap[$pkg] = $line
190+
}
188191
}
189192
}
190193

0 commit comments

Comments
 (0)