Skip to content

Commit

Permalink
Expose OPAMCONFIRMLEVEL as unsafe-yes
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Nov 26, 2023
1 parent f9713ae commit 2756db1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ and this project adheres to

## [unreleased]

### Added

- Expose `OPAMCONFIRMLEVEL` as `unsafe-yes`.

## [2.1.4]

### Fixed
Expand Down
1 change: 1 addition & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/setup-ocaml/src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export async function installer() {
// https://github.com/ocaml/opam/issues/3447
core.exportVariable("OPAMSOLVERTIMEOUT", 1000);
core.exportVariable("OPAMYES", 1);
core.exportVariable("OPAMCONFIRMLEVEL", "unsafe-yes");
if (PLATFORM === "win32") {
const opamRoot = path.join("D:", ".opam");
core.exportVariable("OPAMROOT", opamRoot);
Expand Down

0 comments on commit 2756db1

Please sign in to comment.