mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
chore(CI): fix ocaml compiler version
This commit is contained in:
parent
bf15e88f0c
commit
3ae5699021
1 changed files with 3 additions and 9 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
|
@ -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 }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue