chore(CI): fix ocaml compiler version

This commit is contained in:
Fardale 2021-09-27 11:47:13 +02:00
parent bf15e88f0c
commit 099ef5a9a4

View file

@ -18,22 +18,16 @@ jobs:
- macos-latest
- ubuntu-latest
- windows-latest
ocaml:
ocaml-compiler:
- '4.03.0'
- '4.08.1'
- '4.12.0'
runs-on: ${{ matrix.os }}
steps:
- uses: haya14busa/action-cond@v1
id: path
with:
cond: ${{ matrix.os == 'windows-latest' }}
if_true: "D:\\cygwin\\home\\runneradmin\\.opam"
if_false: "~/.opam"
- uses: actions/checkout@v2
- uses: ocaml/setup-ocaml@v2
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}