mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
chore(ci): migrate gh-pages workflow to setup-ocaml@v2
This commit is contained in:
parent
800fdf4d5e
commit
2a7bc70bed
1 changed files with 4 additions and 9 deletions
13
.github/workflows/gh-pages.yml
vendored
13
.github/workflows/gh-pages.yml
vendored
|
|
@ -7,20 +7,15 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
|
name: Deploy doc
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@main
|
- uses: actions/checkout@main
|
||||||
|
|
||||||
- name: Cache opam
|
- name: Use OCaml
|
||||||
id: cache-opam
|
uses: ocaml/setup-ocaml@v2
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
with:
|
||||||
path: ~/.opam
|
ocaml-compiler: '4.12.x'
|
||||||
key: opam-ubuntu-latest-4.12.0
|
|
||||||
|
|
||||||
- uses: avsm/setup-ocaml@v1
|
|
||||||
with:
|
|
||||||
ocaml-version: '4.12.0'
|
|
||||||
|
|
||||||
- name: Pin
|
- name: Pin
|
||||||
run: opam pin -n .
|
run: opam pin -n .
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue