Skip to content

Commit

Permalink
Bring back opam caching
Browse files Browse the repository at this point in the history
  • Loading branch information
7h3kk1d committed Feb 19, 2024
1 parent c59d6c0 commit b807b55
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
# and uncomment them to open an ssh connection at that point:
#- name: Debugging with ssh
# uses: lhotari/action-upterm@v1
- name: Checkout the hazel repo on the current branch # STEP 1
- name: Checkout the hazel repo on the current branch
uses: actions/checkout@v2
with:
path: source
Expand All @@ -21,6 +21,12 @@ jobs:
with:
ocaml-compiler: 5.0.0
dune-cache: true
- name: Retrieve the build environment if cached
id: opam-cache
uses: actions/cache@v2
with:
path: '/home/runner/.opam/'
key: ${{ runner.os }}-modules-${{ hashFiles('./source/opam.export') }}
- name: Install dependencies
run: |
eval $(opam env)
Expand Down

0 comments on commit b807b55

Please sign in to comment.