From 3ae5699021068149dccca5b095e789abd44d99b2 Mon Sep 17 00:00:00 2001 From: Fardale Date: Mon, 27 Sep 2021 11:47:13 +0200 Subject: [PATCH] chore(CI): fix ocaml compiler version --- .github/workflows/main.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5baa2a47..5aa61e72 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 }}