;ci: mac: try again to bump the right cache to fix Cabal artifact

CI error:
hledger-lib>
/Users/runner/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5:
cannot execute binary file
This commit is contained in:
Simon Michael 2020-08-23 08:33:41 -07:00
parent 3c32aa2cd4
commit c477e9c7dd

View File

@ -52,18 +52,18 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.stack
key: ${{ runner.os }}-stack-global-${{ hashFiles('**.yaml') }}
key: ${{ runner.os }}-stack-global-3-${{ hashFiles('**.yaml') }}
restore-keys: |
${{ runner.os }}-stack-global
${{ runner.os }}-stack-global-3
- name: Cache stack-installed programs in ~/.local/bin
id: stack-programs
uses: actions/cache@v2
with:
path: ~/.local/bin
key: ${{ runner.os }}-stack-programs-2-${{ hashFiles('**.yaml') }}
key: ${{ runner.os }}-stack-programs-${{ hashFiles('**.yaml') }}
restore-keys: |
${{ runner.os }}-stack-programs-2
${{ runner.os }}-stack-programs
- name: Cache .stack-work
uses: actions/cache@v2