Skip to content

Commit 070f16f

Browse files
authored
Fix ci cache for windows (#2507)
* Use new cabal dir * Use new cabal dir in caching
1 parent 9bd5271 commit 070f16f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/caching.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
- if: runner.os == 'Windows'
7979
name: (Windows) Platform config
8080
run: |
81-
echo "CABAL_PKGS_DIR=~\\AppData\\cabal\\packages" >> $GITHUB_ENV
81+
echo "CABAL_PKGS_DIR=C:\\cabal\\packages" >> $GITHUB_ENV
8282
- if: ( runner.os == 'Linux' ) || ( runner.os == 'macOS' )
8383
name: (Linux,macOS) Platform config
8484
run: |

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
- if: runner.os == 'Windows'
8686
name: (Windows) Platform config
8787
run: |
88-
echo "CABAL_PKGS_DIR=~\\AppData\\cabal\\packages" >> $GITHUB_ENV
88+
echo "CABAL_PKGS_DIR=C:\\cabal\\packages" >> $GITHUB_ENV
8989
- if: ( runner.os == 'Linux' ) || ( runner.os == 'macOS' )
9090
name: (Linux,macOS) Platform config
9191
run: |

0 commit comments

Comments
 (0)