From ff36791f0844b7d65e38ed6a5646d269fe748fdd Mon Sep 17 00:00:00 2001 From: Cheng Shao Date: Thu, 14 Nov 2024 21:55:01 +0000 Subject: [PATCH] ci: add wasm-cabal-cache logic --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0539bb2..312d20a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,6 +42,15 @@ jobs: ref: wasm path: pandoc + - name: wasm-cabal-cache + uses: actions/cache@v3 + with: + key: wasm-cabal-cache-${{ github.run_id }} + restore-keys: wasm-cabal-cache- + path: | + ~/.ghc-wasm/.cabal/store + pandoc/dist-newstyle + - name: build run: | pushd pandoc