mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-05 19:00:31 -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:
|
||||
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 .
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue