From 22091dfd31f83b0d41a5c5f4bd01a9891e407995 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 1 Aug 2020 12:58:02 -0700 Subject: [PATCH] Revert ";ci: bump actions/cache from 2 to 2.1" I guess that was not necessary or advisable. This reverts commit 703c698b16f7f6478207d8cd1bac1c3deb4cd565. --- .github/workflows/linux.yml | 14 +++++++------- .github/workflows/mac.yml | 14 +++++++------- .github/workflows/push.yml | 14 +++++++------- .github/workflows/windows.yml | 14 +++++++------- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 7fb72a164..18e1573c5 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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') }} diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 8f8609b6f..8c7022300 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -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') }} diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index b3927c7d2..2c22ba2ee 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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') }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 026309100..d8d31fbfb 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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') }}