Skip to content

Commit 25b506f

Browse files
authored
Merge pull request #26073 from kit-ty-kate/windows-ci
GHA Windows: add a special case for packages that are not available
2 parents d3c9759 + 0269d9d commit 25b506f

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)