Revert ";ci: bump actions/cache from 2 to 2.1"

I guess that was not necessary or advisable.

This reverts commit 703c698b16.
This commit is contained in:
Simon Michael 2020-08-01 12:58:02 -07:00
parent 703c698b16
commit 22091dfd31
4 changed files with 28 additions and 28 deletions

View File

@ -74,7 +74,7 @@ jobs:
- name: Cache stack global package db
id: stack-global
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: ~/.stack
key: ${{ runner.os }}-stack-global-${{ matrix.plan.ghc }}-${{ hashFiles('**.yaml') }}
@ -83,7 +83,7 @@ jobs:
- name: Cache stack-installed programs in ~/.local/bin
id: stack-programs
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: ~/.local/bin
key: ${{ runner.os }}-stack-programs-${{ matrix.plan.ghc }}-${{ hashFiles('**.yaml') }}
@ -91,7 +91,7 @@ jobs:
${{ runner.os }}-stack-programs-${{ matrix.plan.ghc }}
- name: Cache .stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: .stack-work
key: ${{ runner.os }}-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('**.yaml') }}
@ -99,7 +99,7 @@ jobs:
${{ runner.os }}-stack-work-${{ matrix.plan.ghc }}
- name: Cache hledger-lib/.stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: hledger-lib/.stack-work
key: ${{ runner.os }}-hledger-lib-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('hledger-lib/package.yaml') }}
@ -107,7 +107,7 @@ jobs:
${{ runner.os }}-hledger-lib-stack-work-${{ matrix.plan.ghc }}
- name: Cache hledger/.stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: hledger/.stack-work
key: ${{ runner.os }}-hledger-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('hledger/package.yaml') }}
@ -115,7 +115,7 @@ jobs:
${{ runner.os }}-hledger-stack-work-${{ matrix.plan.ghc }}
- name: Cache hledger-ui/.stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: hledger-ui/.stack-work
key: ${{ runner.os }}-hledger-ui-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('hledger-ui/package.yaml') }}
@ -123,7 +123,7 @@ jobs:
${{ runner.os }}-hledger-ui-stack-work-${{ matrix.plan.ghc }}
- name: Cache hledger-web/.stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: hledger-web/.stack-work
key: ${{ runner.os }}-hledger-web-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('hledger-web/package.yaml') }}

View File

@ -49,7 +49,7 @@ jobs:
- name: Cache stack global package db
id: stack-global
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: ~/.stack
key: ${{ runner.os }}-stack-global-${{ hashFiles('**.yaml') }}
@ -58,7 +58,7 @@ jobs:
- name: Cache stack-installed programs in ~/.local/bin
id: stack-programs
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: ~/.local/bin
key: ${{ runner.os }}-stack-programs-${{ hashFiles('**.yaml') }}
@ -66,7 +66,7 @@ jobs:
${{ runner.os }}-stack-programs
- name: Cache .stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: .stack-work
key: ${{ runner.os }}-stack-work-${{ hashFiles('**.yaml') }}
@ -74,7 +74,7 @@ jobs:
${{ runner.os }}-stack-work
- name: Cache hledger-lib/.stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: hledger-lib/.stack-work
key: ${{ runner.os }}-hledger-lib-stack-work-${{ hashFiles('hledger-lib/package.yaml') }}
@ -82,7 +82,7 @@ jobs:
${{ runner.os }}-hledger-lib-stack-work
- name: Cache hledger/.stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: hledger/.stack-work
key: ${{ runner.os }}-hledger-stack-work-${{ hashFiles('hledger/package.yaml') }}
@ -90,7 +90,7 @@ jobs:
${{ runner.os }}-hledger-stack-work
- name: Cache hledger-ui/.stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: hledger-ui/.stack-work
key: ${{ runner.os }}-hledger-ui-stack-work-${{ hashFiles('hledger-ui/package.yaml') }}
@ -98,7 +98,7 @@ jobs:
${{ runner.os }}-hledger-ui-stack-work
- name: Cache hledger-web/.stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: hledger-web/.stack-work
key: ${{ runner.os }}-hledger-web-stack-work-${{ hashFiles('hledger-web/package.yaml') }}

View File

@ -60,7 +60,7 @@ jobs:
- name: Cache stack global package db
id: stack-global
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: ~/.stack
key: ${{ runner.os }}-stack-global-${{ matrix.plan.ghc }}-${{ hashFiles('**.yaml') }}
@ -69,7 +69,7 @@ jobs:
- name: Cache stack-installed programs in ~/.local/bin
id: stack-programs
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: ~/.local/bin
key: ${{ runner.os }}-stack-programs-${{ matrix.plan.ghc }}-${{ hashFiles('**.yaml') }}
@ -77,7 +77,7 @@ jobs:
${{ runner.os }}-stack-programs-${{ matrix.plan.ghc }}
- name: Cache .stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: .stack-work
key: ${{ runner.os }}-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('**.yaml') }}
@ -85,7 +85,7 @@ jobs:
${{ runner.os }}-stack-work-${{ matrix.plan.ghc }}
- name: Cache hledger-lib/.stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: hledger-lib/.stack-work
key: ${{ runner.os }}-hledger-lib-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('hledger-lib/package.yaml') }}
@ -93,7 +93,7 @@ jobs:
${{ runner.os }}-hledger-lib-stack-work-${{ matrix.plan.ghc }}
- name: Cache hledger/.stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: hledger/.stack-work
key: ${{ runner.os }}-hledger-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('hledger/package.yaml') }}
@ -101,7 +101,7 @@ jobs:
${{ runner.os }}-hledger-stack-work-${{ matrix.plan.ghc }}
- name: Cache hledger-ui/.stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: hledger-ui/.stack-work
key: ${{ runner.os }}-hledger-ui-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('hledger-ui/package.yaml') }}
@ -109,7 +109,7 @@ jobs:
${{ runner.os }}-hledger-ui-stack-work-${{ matrix.plan.ghc }}
- name: Cache hledger-web/.stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: hledger-web/.stack-work
key: ${{ runner.os }}-hledger-web-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('hledger-web/package.yaml') }}

View File

@ -38,7 +38,7 @@ jobs:
- name: Cache stack global package db
id: stack-global-package-db
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: C:\Users\runneradmin\AppData\Roaming\stack\
key: ${{ runner.os }}-appdata-roaming-stack-${{ hashFiles('**.yaml') }}
@ -47,7 +47,7 @@ jobs:
- name: Cache stack programs dir # ghc, ghc-included packages and their haddocks, mingw, msys2
id: stack-programs-dir
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: C:\Users\runneradmin\AppData\Local\Programs\stack\
# which files signal a change in stack's global db ?
@ -57,7 +57,7 @@ jobs:
${{ runner.os }}-appdata-local-programs-stack
- name: Cache .stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: .stack-work
key: ${{ runner.os }}-stack-work-${{ hashFiles('**.yaml') }}
@ -65,7 +65,7 @@ jobs:
${{ runner.os }}-stack-work
- name: Cache hledger-lib/.stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: hledger-lib/.stack-work
key: ${{ runner.os }}-hledger-lib-stack-work-${{ hashFiles('hledger-lib/package.yaml') }}
@ -73,7 +73,7 @@ jobs:
${{ runner.os }}-hledger-lib-stack-work
- name: Cache hledger/.stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: hledger/.stack-work
key: ${{ runner.os }}-hledger-stack-work-${{ hashFiles('hledger/package.yaml') }}
@ -81,7 +81,7 @@ jobs:
${{ runner.os }}-hledger-stack-work
- name: Cache hledger-ui/.stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: hledger-ui/.stack-work
key: ${{ runner.os }}-hledger-ui-stack-work-${{ hashFiles('hledger-ui/package.yaml') }}
@ -89,7 +89,7 @@ jobs:
${{ runner.os }}-hledger-ui-stack-work
- name: Cache hledger-web/.stack-work
uses: actions/cache@v2.1
uses: actions/cache@v2
with:
path: hledger-web/.stack-work
key: ${{ runner.os }}-hledger-web-stack-work-${{ hashFiles('hledger-web/package.yaml') }}