aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-02-22 23:24:13 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-02-22 23:24:13 -0800
commit938f402dec7ea4447ec8347506ff6d688bc28446 (patch)
treeb5fe43d5b8e43cb37cac07bb11dfbcd8db28b33d /.github
parent9767386676d3fae04e3cd7f2a3622ff1f60cc1f3 (diff)
downloadpandoc-938f402dec7ea4447ec8347506ff6d688bc28446.tar.gz
CI: Add 'benchmark' to benchmark cache key.
For benchmark we build with optimizations, so the regular cache is useless.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5337527ed..561de40d7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -225,7 +225,7 @@ jobs:
with:
path: |
~/.cabal
- key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-global-${{ hashFiles('cabal.project') }}
+ key: benchmark-${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-global-${{ hashFiles('cabal.project') }}
- name: Cache cabal work
id: cabal-local
@@ -233,7 +233,7 @@ jobs:
with:
path: |
dist-newstyle
- key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-local
+ key: benchmark-${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-local
- name: Install dependencies
run: |