ci: fix cache for gh-pages job

This commit is contained in:
Fardale 2021-04-03 20:25:54 +02:00
parent b2342ead0a
commit 701a558676

View file

@ -11,16 +11,16 @@ jobs:
steps: steps:
- uses: actions/checkout@main - uses: actions/checkout@main
- uses: avsm/setup-ocaml@v1 - name: Cache opam
with:
ocaml-version: '4.12.0'
- 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-ubuntu-latest-4.12.0 key: opam-${{ matrix.os }}-${{ matrix.ocaml }}
- uses: avsm/setup-ocaml@v1
with:
ocaml-version: '4.12.0'
- name: Pin - name: Pin
run: opam pin -n . run: opam pin -n .