From 3ff569fe11711193f65d2b8bd13629274ea39933 Mon Sep 17 00:00:00 2001 From: Sergey Vinokurov Date: Sun, 15 Dec 2024 19:26:41 +0000 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20cache=20dist-newstyle=20on=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5cb7629..6fe7604 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,7 +56,7 @@ jobs: - uses: actions/checkout@v4 - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Cache WASM cabal stuff with: path: | @@ -65,13 +65,12 @@ jobs: restore-keys: | wasi-${{ runner.os }}-${{ matrix.ghc-wasm-meta-rev }}-flavour-${{ matrix.ghc }} - - uses: actions/cache@v3 - name: Cache cabal stuff + - uses: actions/cache@v4 + name: Cache cabal store with: - path: | - ${{ steps.setup-haskell-cabal.outputs.cabal-store }} - dist-newstyle - key: ${{ runner.os }}-${{ matrix.ghc }} + path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }} + key: ${{ runner.os }}-${{ matrix.ghc }}-${{ github.sha }} + restore-keys: ${{ runner.os }}-${{ matrix.ghc }}- - name: Build dependencies run: |