We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e271ea commit dba76b3Copy full SHA for dba76b3
.github/workflows/playground.yml
@@ -14,15 +14,17 @@ jobs:
14
- name: Checkout code
15
uses: actions/checkout@v2.0.0
16
- name: Cache .opam folder
17
+ id: cache-opam
18
uses: actions/cache@v1
19
with:
- path: $HOME/.opam
20
- key: ${{ runner.os }}-opam-v1
+ path: ~/.opam
21
+ key: ${{ runner.os }}-opam-4.06.1-3.5.1-v1
22
- name: Use OCaml ${{ matrix.ocaml-version }}
23
uses: avsm/setup-ocaml@v1.0
24
25
ocaml-version: ${{ matrix.ocaml-version }}
- - run: opam install js_of_ocaml.3.5.1
26
+ - if: steps.cache-opam.outputs.cache-hit != 'true'
27
+ run: opam install js_of_ocaml.3.5.1
28
- run: git submodule update --init && ./scripts/buildocaml.js
29
- run: ./scripts/ninja.js config && ./scripts/ninja.js build
30
- run: mkdir playground && mkdir playground/stdlib
0 commit comments