Skip to content

Commit

Permalink
ci: disable cache debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
stevana committed Nov 4, 2024
1 parent 46ac4e2 commit d63bcf0
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,31 +172,31 @@ jobs:
env:
key: ${{ runner.os }}-ghc-${{ matrix.ghc-version }}-cabal-${{ matrix.cabal-version }}
with:
path: |
${HOME}/.cache/cabal
${HOME}/.cabal/store
dist-newstyle
path: ${{ steps.setup.outputs.cabal-store }}
# ${HOME}/.cache/cabal
# ${HOME}/.cabal/store
# dist-newstyle
key: ${{ env.key }}-plan-${{ hashFiles('**/plan.json') }}
restore-keys: ${{ env.key }}-plan-

- name: Build dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: make build-deps

- name: Debug .cache/cabal cache
run: |
ls -Rlh ${HOME}/.cache/cabal || true
#- name: Debug .cache/cabal cache
# run: |
# ls -Rlh ${HOME}/.cache/cabal || true

- name: Debug .cabal/store cache
run: |
echo ${{ steps.setup.outputs.cabal-store }}
ls -Rlh ${{ steps.setup.outputs.cabal-store }} || true
echo "==="
ls -Rlh ${HOME}/.cabal/store || true
#- name: Debug .cabal/store cache
# run: |
# echo ${{ steps.setup.outputs.cabal-store }}
# ls -Rlh ${{ steps.setup.outputs.cabal-store }} || true
# echo "==="
# ls -Rlh ${HOME}/.cabal/store || true

- name: Debug dist-newstyle cache
run: |
ls -Rlh dist-newstyle || true
#- name: Debug dist-newstyle cache
# run: |
# ls -Rlh dist-newstyle || true

# Cache dependencies already here, so that we do not have to rebuild them
# should the subsequent steps fail.
Expand Down

0 comments on commit d63bcf0

Please sign in to comment.