chore: try to fix gh-pages CI

This commit is contained in:
Simon Cruanes 2022-07-07 15:17:26 -04:00
parent 586e16e1c5
commit d235d8ab8c
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -10,27 +10,22 @@ jobs:
name: Deploy doc name: Deploy doc
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@main - name: Checkout code
uses: actions/checkout@v2
with: with:
submodules: recursive submodules: recursive
# needed for depext to work # needed for depext to work
- run: sudo apt-get update - run: sudo apt-get update && echo 1
if: ${{ matrix.os == 'ubuntu-latest' }} if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Use OCaml - name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2 uses: ocaml/setup-ocaml@v2
with: with:
ocaml-compiler: '4.13.x' ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-depext-flags: --with-test
- name: Pin - run: opam install . --with-doc --deps-only --with-test
run: opam pin -n .
- name: Depext
run: opam depext -yt opentelemetry opentelemetry-lwt opentelemetry-client-ocurl opentelemetry-cohttp-lwt
- name: Deps
run: opam install -d . --deps-only
- name: Build - name: Build
run: opam exec -- dune build @doc -p opentelemetry,opentelemetry-lwt,opentelemetry-client-ocurl,opentelemetry-cohttp-lwt run: opam exec -- dune build @doc -p opentelemetry,opentelemetry-lwt,opentelemetry-client-ocurl,opentelemetry-cohttp-lwt