Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryukzak committed Oct 26, 2024
1 parent a6d4b38 commit a179a5a
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,21 @@ jobs:
uses: actions/checkout@v4

- uses: actions/cache@v4
name: Cache ~/.stack
name: Cache ~/.stack (Windows)
if: matrix.os == "windows-latest"
with:
path: |
C:\Users\runneradmin\AppData\Local\Programs\stack
D:\a\wrench\wrench\.stack-work
key: ${{ runner.os }}-stack-global-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }}
restore-keys: |
${{ runner.os }}-stack-global-
- uses: actions/cache@v4
name: Cache ~/.stack (Windows)
if: matrix.os == "ubuntu-latest"
with:
path: ${{ runner.os == 'Windows' && 'C:\Users\runneradmin\AppData\Local\Programs\stack' || '~/.stack' }}
path: '~/.stack'
key: ${{ runner.os }}-stack-global-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }}
restore-keys: |
${{ runner.os }}-stack-global-
Expand Down

0 comments on commit a179a5a

Please sign in to comment.