Skip to content

Commit 50e6de0

Browse files
committed
Homebrew now has opam 2.1
1 parent 0308c96 commit 50e6de0

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/workflow.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ jobs:
5050
with:
5151
ocaml-version: ${{ matrix.ocaml-version }}
5252

53+
- run: opam install yaml --verbose --confirm-level=unsafe-yes --cli=2.1
54+
if: runner.os == 'macOS'
55+
5356
- run: opam depext yaml --install --verbose --yes
57+
if: runner.os != 'macOS'
5458

5559
- name: Check formatting
5660
run: yarn fmt:check

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ and this project adheres to
88

99
## [unreleased]
1010

11+
### Fixed
12+
13+
- Stop installing `depext` package on macOS runners (opam is now at 2.1.0).
14+
1115
## [1.1.11]
1216

1317
### Changed

dist/index.js

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/installer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ async function acquireOpamDarwin(version: string, customRepository: string) {
8989
await exec("brew", ["install", "opam"]);
9090
await exec("opam", ["init", "--bare", "-yav", repository]);
9191
await exec(path.join(__dirname, "install-ocaml-unix.sh"), [version]);
92-
await exec("opam", ["install", "-y", "depext"]);
9392
}
9493

9594
export async function getOpam(

0 commit comments

Comments
 (0)