Skip to content

Commit

Permalink
fix(ci): use /mnt for temporary files and dune cache
Browse files Browse the repository at this point in the history
Should have more disk space.

Signed-off-by: Edwin Török <[email protected]>
  • Loading branch information
edwintorok committed Feb 2, 2024
1 parent 689420f commit ee50fbc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,18 @@ jobs:
- name: Update Ubuntu repositories
run: sudo apt-get update

- name: Use disk with more space for $TMPDIR and $XDG_CACHE_HOME
run: |
df -h || true
export TMPDIR=/mnt/tmp
export XDG_CACHE_HOME=/mnt/cache
mkdir -p "${TMPDIR}" "${XDG_CACHE_HOME}"
echo "TMPDIR=${TMPDIR}" >>$GITHUB_ENV
echo "XDG_CACHE_HOME=${XDG_CACHE_HOME}" >>$GITHUB_ENV
- name: Print opam environment
run: opam exec -- env

- name: Use ocaml
uses: ocaml/setup-ocaml@v2
with:
Expand Down

0 comments on commit ee50fbc

Please sign in to comment.