From 180e7395811cc753f18ec1c264c264212d865055 Mon Sep 17 00:00:00 2001 From: "ajeffrey@roblox.com" Date: Tue, 8 Feb 2022 11:18:23 -0600 Subject: [PATCH] Try to get caching to work --- .github/workflows/prototyping.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prototyping.yml b/.github/workflows/prototyping.yml index bbca2b52..3517ef41 100644 --- a/.github/workflows/prototyping.yml +++ b/.github/workflows/prototyping.yml @@ -22,7 +22,14 @@ jobs: run: sudo apt-get install -y cabal-install - name: cabal update working-directory: prototyping - run: cabal update + run: | + cabal update + cabal list --simple-output aeson > aeson.txt + - uses: actions/cache@v2 + with: + path: ~/.cabal/store + key: ${{ runner.os }}-${{ hashFiles('prototyping/aeson.txt') }} + restore-keys: ${{ runner.os }}- - name: cabal install working-directory: prototyping run: |