Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
vouillon committed Oct 4, 2024
1 parent 8058d85 commit 58c9f3b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-wasm_of_ocaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,11 @@ jobs:
~/.opam
_opam
/opt/hostedtoolcache/opam
/Users/runner/hostedtoolcache/opam
key: ${{ runner.os }}-ocaml-${{ matrix.ocaml-compiler }}

- name: Install OCaml ${{ matrix.ocaml-compiler }}
if: matrix.os == 'macos-latest' || steps.cache-ocaml.outputs.cache-hit != 'true'
if: steps.cache-ocaml.outputs.cache-hit != 'true'
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
Expand All @@ -118,6 +119,7 @@ jobs:
if: steps.cache-ocaml.outputs.cache-hit
run: |
echo /opt/hostedtoolcache/opam/*/x86_64 >> $GITHUB_PATH
echo /Users/runner/hostedtoolcache/opam/*/arm64 >> $GITHUB_PATH
- name: Cache OCaml
if: steps.cache-ocaml.outputs.cache-hit != 'true'
Expand All @@ -127,6 +129,7 @@ jobs:
~/.opam
_opam
/opt/hostedtoolcache/opam
/Users/runner/hostedtoolcache/opam
key: ${{ runner.os }}-ocaml-${{ matrix.ocaml-compiler }}

- name: Checkout code
Expand Down

0 comments on commit 58c9f3b

Please sign in to comment.