From 5c20d2815c857797c8717b88076f54e43a00b2b8 Mon Sep 17 00:00:00 2001 From: Julia Longtin Date: Sun, 28 Jan 2024 15:45:17 +0000 Subject: [PATCH] continue being more specific about cacheing. --- .github/workflows/ci.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f5303efa..e0aaff05 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,9 +22,9 @@ jobs: fi - name: freeze run: cabal freeze - - uses: "actions/cache/restore@v4" - name: Restore build artifacts id: build-hslice-restore + uses: "actions/cache/restore@v4" with: key: "${{ runner.os }}-${{ matrix.ghc }}-cabal-${{ hashFiles('cabal.project.freeze') }}" path: "${{ steps.setup-haskell-cabal.outputs.cabal-store }} dist-newstyle" @@ -32,8 +32,8 @@ jobs: run: cabal build all --enable-tests --enable-benchmarks --only-dependencies - name: build all run: cabal build all --enable-tests --enable-benchmarks - - uses: "actions/cache/save@v4" - name: Save build artifacts + uses: "actions/cache/save@v4" with: key: "${{ runner.os }}-${{ matrix.ghc }}-cabal-${{ hashFiles('cabal.project.freeze') }}" path: "${{ steps.setup-haskell-cabal.outputs.cabal-store }} dist-newstyle" @@ -66,8 +66,8 @@ jobs: fi - name: freeze run: cabal freeze - - uses: "actions/cache/restore@v4" - name: Restore build artifacts + uses: "actions/cache/restore@v4" id: build-hslice-restore with: key: "${{ runner.os }}-${{ matrix.ghc }}-cabal-${{ hashFiles('cabal.project.freeze') }}" @@ -76,8 +76,8 @@ jobs: run: cabal build all --enable-tests --enable-benchmarks --only-dependencies - name: build all run: cabal build all --enable-tests --enable-benchmarks - - uses: "actions/cache/save@v4" - name: Save build artifacts + uses: "actions/cache/save@v4" with: key: "${{ runner.os }}-${{ matrix.ghc }}-cabal-${{ hashFiles('cabal.project.freeze') }}" path: "${{ steps.setup-haskell-cabal.outputs.cabal-store }} dist-newstyle"