try to fix ci

This commit is contained in:
Simon Cruanes 2021-02-05 14:25:38 -05:00
parent dc80c1de1a
commit 3d46315b82

View file

@ -13,16 +13,16 @@ jobs:
- uses: avsm/setup-ocaml@master - uses: avsm/setup-ocaml@master
with: with:
ocaml-version: ${{ matrix.ocaml-version }} ocaml-version: ${{ matrix.ocaml-version }}
- name: cache opam #- name: cache opam
id: cache-opam # id: cache-opam
uses: actions/cache@v2 # uses: actions/cache@v2
with: # with:
path: _opam # path: _opam
key: opam-${{matrix.operating-system}}-${{matrix.ocaml-version}} # key: opam-${{matrix.operating-system}}-${{matrix.ocaml-version}}
- run: opam pin -n . - run: opam pin -n .
- run: opam depext -yt sidekick-bin - run: opam depext -yt sidekick-bin
if: steps.cache-opam.outputs.cache-hit != 'true' #if: steps.cache-opam.outputs.cache-hit != 'true'
- run: opam install -t . --deps-only - run: opam install -t . --deps-only
if: steps.cache-opam.outputs.cache-hit != 'true' #if: steps.cache-opam.outputs.cache-hit != 'true'
- run: opam exec -- dune build - run: opam exec -- dune build
- run: opam exec -- dune runtest - run: opam exec -- dune runtest