Skip to content

Commit

Permalink
chaned cache paths for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
BebeSparkelSparkel committed Jul 11, 2024
1 parent 0c112a1 commit 11b0f96
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
echo extraIncludeDirsFFI="--extra-include-dirs /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ffi" >> $GITHUB_ENV
- name: Setup Haskell macos
if: ${{ contains( matrix.os , 'macos' ) }}
id: setup-haskell-cabal
uses: haskell-actions/[email protected]
with:
ghc-version: ${{ env.ghcVersion }}
Expand All @@ -48,6 +49,7 @@ jobs:
cabal-update: false
- name: Setup Haskell not macos
if: ${{ ! contains( matrix.os , 'macos' ) }}
id: setup-haskell-cabal
uses: haskell-actions/[email protected]
with:
ghc-version: ${{ env.ghcVersion }}
Expand All @@ -59,9 +61,9 @@ jobs:
with:
key: ${{ matrix.os }}_${{ env.snapshot }}
path: |
~/.stack
./.stack-work
./*/.stack-work
${{ steps.setup-haskell-cabal.outputs.stack-root }}
.stack-work
*/.stack-work
- name: Build and run tests
shell: bash
run: |
Expand All @@ -81,8 +83,13 @@ jobs:
- ubuntu-latest
- windows-latest
steps:
- name: Setup Haskell
- name: Setup Haskell macos
if: ${{ contains( matrix.os , 'macos' ) }}
id: setup-haskell-cabal
uses: haskell-actions/[email protected]
- name: Setup Haskell not macos
if: ${{ ! contains( matrix.os , 'macos' ) }}
id: setup-haskell-cabal
uses: haskell-actions/[email protected]
- name: Clone project
uses: actions/checkout@v4
Expand All @@ -91,8 +98,8 @@ jobs:
with:
key: ${{ matrix.os }}_cabal
path: |
~/.cabal
./dist-newstyle
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
dist-newstyle
- name: Build and run tests
shell: bash
run: |
Expand Down

0 comments on commit 11b0f96

Please sign in to comment.