Skip to content

Commit

Permalink
CI: cache-deps: add 'dist-newstyle' caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-Latukha committed Dec 1, 2021
1 parent c543dd9 commit 12c19ee
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/cache-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,17 @@ jobs:
${{ env.cache-name }}-${{ runner.os }}-${{ matrix.ghc }}-${{ env.HACKAGE_TIMESTAMP }}-
${{ env.cache-name }}-${{ runner.os }}-${{ matrix.ghc }}-
- name: dist-newstyle cache
uses: actions/cache@v2
env:
cache-name: dist-newstyle
with:
path: dist-newstyle
key: ${{ env.cache-name }}-${{ runner.os }}-${{ matrix.ghc }}-${{ env.HACKAGE_TIMESTAMP }}-${{ hashFiles('cabal.project') }}
restore-keys: |
${{ env.cache-name }}-${{ runner.os }}-${{ matrix.ghc }}-${{ env.HACKAGE_TIMESTAMP }}-
${{ env.cache-name }}-${{ runner.os }}-${{ matrix.ghc }}-
- if: ( runner.os != 'Windows' ) && ( matrix.ghc != '8.6.5' )
name: Build
run: cabal v2-build --enable-tests --enable-benchmarks --only-dependencies
Expand Down

0 comments on commit 12c19ee

Please sign in to comment.