diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-02-22 23:24:13 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-02-22 23:24:13 -0800 |
commit | 938f402dec7ea4447ec8347506ff6d688bc28446 (patch) | |
tree | b5fe43d5b8e43cb37cac07bb11dfbcd8db28b33d | |
parent | 9767386676d3fae04e3cd7f2a3622ff1f60cc1f3 (diff) | |
download | pandoc-938f402dec7ea4447ec8347506ff6d688bc28446.tar.gz |
CI: Add 'benchmark' to benchmark cache key.
For benchmark we build with optimizations, so the regular
cache is useless.
-rw-r--r-- | .github/workflows/ci.yml | 4 |
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: | |