diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2020-08-15 11:49:43 -0700 | 
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2020-08-15 11:49:56 -0700 | 
| commit | c22b12100d11a5ebb9ab58f1829a44288b640b6d (patch) | |
| tree | 0f2cc6504f5ff86b1e6e9a42e6383192a1bb813c | |
| parent | 482a2e50798481f484267bdcfb7b305ea7bd7971 (diff) | |
| download | pandoc-c22b12100d11a5ebb9ab58f1829a44288b640b6d.tar.gz | |
Actions CI: Try cache@v2.
| -rw-r--r-- | .github/workflows/ci.yml | 24 | 
1 files changed, 14 insertions, 10 deletions
| diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1617672ae..b00b08a38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,16 +72,18 @@ jobs:      - name: Cache cabal global package db        id:   cabal-global -      uses: actions/cache@v1 +      uses: actions/cache@v2        with: -        path: ~/.cabal +        path: | +          ~/.cabal          key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-global-${{ hashFiles('cabal.project') }}      - name: Cache cabal work        id:   cabal-local -      uses: actions/cache@v1 +      uses: actions/cache@v2        with: -        path: dist-newstyle +        path: | +          dist-newstyle          key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-local      - name: Install dependencies @@ -112,10 +114,11 @@ jobs:      - name: Cache stack global package db        id:   stack-global-package-db -      uses: actions/cache@v1 +      uses: actions/cache@v2        with: -        path: C:\Users\runneradmin\AppData\Roaming\stack\ -        key:          ${{ runner.os }}-appdata-roaming-stack-${{ hashFiles('stack.yaml') }} +        path: | +          C:\Users\runneradmin\AppData\Roaming\stack\ +        key: ${{ runner.os }}-appdata-roaming-stack-${{ hashFiles('stack.yaml') }}      # stack's local package dbs for the project and each package      # - name: Cache .stack-work @@ -150,10 +153,11 @@ jobs:      - name: Cache stack global package db        id:   stack-global -      uses: actions/cache@v1 +      uses: actions/cache@v2        with: -        path: ~/.stack -        key:          ${{ runner.os }}-stack-global-${{ hashFiles('stack.yaml') }} +        path: | +          ~/.stack +        key: ${{ runner.os }}-stack-global-${{ hashFiles('stack.yaml') }}      # stack's local package db      # - name: Cache .stack-work | 
