Skip to content

Commit d0cd643

Browse files
committed
CI: {bench,hackage} add Linux platform config
For future caching configuraiton.
1 parent 2c0212b commit d0cd643

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/bench.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ jobs:
5353
enable-stack: false
5454

5555
- name: Cache Cabal
56+
- name: Linux Platform config
57+
run: |
58+
echo "CABAL_PKGS_DIR=~/.cabal/packages" >> $GITHUB_ENV
59+
5660
uses: actions/cache@v2
5761
with:
5862
path: |

.github/workflows/hackage.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ jobs:
5555
enable-stack: false
5656

5757
- name: Cache Cabal
58+
- name: Linux Platform config
59+
run: |
60+
echo "CABAL_PKGS_DIR=~/.cabal/packages" >> $GITHUB_ENV
61+
5862
uses: actions/cache@v2
5963
env:
6064
cache-name: cache-cabal

0 commit comments

Comments
 (0)