Skip to content

Commit

Permalink
fix(build): Correct setup-ocaml option name (#980)
Browse files Browse the repository at this point in the history
This uses the correct `allow-prerelease-opam` option name instead of
`allow-prelease-opam` which does not exist and was typo'd in
#965

Hopefully this fixes the build, which is broken again.
  • Loading branch information
bclement-ocp authored Nov 27, 2023
1 parent 7363cd0 commit a8e0298
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
allow-prelease-opam: true
allow-prerelease-opam: true
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: true

Expand All @@ -67,7 +67,7 @@ jobs:
- name: Use OCaml ${{ env.OCAML_DEFAULT_VERSION }}
uses: ocaml/setup-ocaml@v2
with:
allow-prelease-opam: true
allow-prerelease-opam: true
ocaml-compiler: ${{ env.OCAML_DEFAULT_VERSION }}
dune-cache: true

Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
- name: Use OCaml ${{ env.OCAML_DEFAULT_VERSION }}
uses: ocaml/setup-ocaml@v2
with:
allow-prelease-opam: true
allow-prerelease-opam: true
ocaml-compiler: ${{ env.OCAML_DEFAULT_VERSION }}
dune-cache: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Use OCaml ${{ env.OCAML_DEFAULT_VERSION }}
uses: ocaml/setup-ocaml@v2
with:
allow-prelease-opam: true
allow-prerelease-opam: true
ocaml-compiler: ${{ env.OCAML_DEFAULT_VERSION }}

# Install dependencies
Expand Down

0 comments on commit a8e0298

Please sign in to comment.