Skip to content

Commit

Permalink
add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
carbolymer committed Jul 26, 2024
1 parent b236c05 commit b25aa8c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
g+${{ (startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && github.run_id) || github.event.pull_request.number || github.ref }}
- name: Install Haskell
uses: input-output-hk/actions/haskell@latest
uses: carbolymer/actions/haskell@fix-cabal-3.12-store-path
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc }}
Expand Down Expand Up @@ -116,12 +116,19 @@ jobs:
restore-keys: |
cache-${{ env.CABAL_CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }}-${{ env.MONTHNUM }}-
- name: list dist-newsyle & cache store
run: |
cabal path --store-dir
ls -al dist-newstyle
ls -al ${{ steps.setup-haskell.outputs.cabal-store }}
# Now we install the dependencies. If the cache was found and restored in the previous step,
# this should be a no-op, but if the cache key was not found we need to build stuff so we can
# cache it for the next step.
- name: Install dependencies
run: cabal build all --enable-tests --only-dependencies -j --ghc-option=-j4


# Always store the cabal cache.
- name: Cache Cabal store
uses: actions/cache/save@v4
Expand Down

0 comments on commit b25aa8c

Please sign in to comment.