mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
ci: fix cache for gh-pages job
This commit is contained in:
parent
b2342ead0a
commit
701a558676
1 changed files with 7 additions and 7 deletions
14
.github/workflows/gh-pages.yml
vendored
14
.github/workflows/gh-pages.yml
vendored
|
|
@ -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 .
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue