From 2a7bc70bedc66e56001dbd34479ce9d914e36574 Mon Sep 17 00:00:00 2001 From: Fardale Date: Mon, 27 Sep 2021 12:02:57 +0200 Subject: [PATCH] chore(ci): migrate gh-pages workflow to setup-ocaml@v2 --- .github/workflows/gh-pages.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index f1492d9f..42ae10e0 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -7,20 +7,15 @@ on: jobs: deploy: + name: Deploy doc runs-on: ubuntu-latest steps: - uses: actions/checkout@main - - name: Cache opam - id: cache-opam - uses: actions/cache@v2 + - name: Use OCaml + uses: ocaml/setup-ocaml@v2 with: - path: ~/.opam - key: opam-ubuntu-latest-4.12.0 - - - uses: avsm/setup-ocaml@v1 - with: - ocaml-version: '4.12.0' + ocaml-compiler: '4.12.x' - name: Pin run: opam pin -n .