diff --git a/.github/workflows/build-and-release.yaml b/.github/workflows/build-and-release.yaml index a42235da..b936fa1e 100644 --- a/.github/workflows/build-and-release.yaml +++ b/.github/workflows/build-and-release.yaml @@ -68,12 +68,10 @@ jobs: CABAL_PROJECT: cabal.project.release shell: bash run: bash ./.github/scripts/freeze_dependencies.sh - - name: Cache GHC, Cabal store, and build artifacts + - name: Cache Cabal store uses: actions/cache@v6.1.0 with: - path: | - dist-newstyle - ${{ steps.setup-ghc.outputs.cabal-store }} + path: ${{ steps.setup-ghc.outputs.cabal-store }} key: >- ${{ runner.os }}-cabal-${{ matrix.ghc diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index fba9e79a..1cc8c942 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -174,12 +174,10 @@ jobs: CABAL_PROJECT: cabal.project.ci shell: bash run: bash ./.github/scripts/freeze_dependencies.sh - - name: Cache Cabal store and build artifacts + - name: Cache Cabal store uses: actions/cache@v6.1.0 with: - path: | - ${{ steps.setup-ghc.outputs.cabal-store }} - dist-newstyle + path: ${{ steps.setup-ghc.outputs.cabal-store }} key: >- ${{ runner.os diff --git a/.github/workflows/future-proofing.yaml b/.github/workflows/future-proofing.yaml index c32c0237..56629502 100644 --- a/.github/workflows/future-proofing.yaml +++ b/.github/workflows/future-proofing.yaml @@ -54,12 +54,10 @@ jobs: CABAL_PROJECT: cabal.project.ci shell: bash run: bash ./.github/scripts/freeze_dependencies.sh - - name: Cache GHC, Cabal store, and build artifacts + - name: Cache Cabal store uses: actions/cache@v6.1.0 with: - path: | - dist-newstyle - ${{ steps.setup-ghc.outputs.cabal-store }} + path: ${{ steps.setup-ghc.outputs.cabal-store }} key: >- ${{ runner.os }}-cabal-${{ steps.get-ghc.outputs.ghc-version