Skip to content

Commit 0269d9d

Browse files
committed
GHA Windows: add a special case for packages that are not available
1 parent 26b89b0 commit 0269d9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777
opam install --confirm-level=unsafe-yes "$pkg"
7878
switch ($LASTEXITCODE) {
7979
0 { Break }
80+
5 { Write-Host "$pkg is not installable. Skip."; Break } # TODO: Remove when https://github.com/ocaml/opam/issues/6017 is fixed
8081
20 { Write-Host "$pkg is not installable. Skip."; Break }
8182
31 { Write-Host "$pkg failed to build."; $failed = $true; Break }
8283
default { throw "Unexpected error $_" }

0 commit comments

Comments
 (0)