From c52effbd01d1a6b80f231d4c6298d042d9097ff4 Mon Sep 17 00:00:00 2001 From: Stevan Andjelkovic Date: Mon, 21 Oct 2024 18:17:48 +0200 Subject: [PATCH] ci: remove ghc and cabal cache for now --- .github/workflows/main.yaml | 38 ++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index bebe279..6071a2a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -26,17 +26,17 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Restore cached GHC and cabal - uses: actions/cache/restore@v4 - id: ghc-cabal-cache - env: - key: ${{ runner.os }}-ghc-${{ matrix.ghc-version }}-cabal-${{ matrix.cabal-version }} - with: - path: | - ~/.cabal/bin/cabal - ~/.ghcup/bin/ghc-${{ matrix.ghc-version }} - key: ${{ env.key }} - restore-keys: ${{ env.key }}- + # - name: Restore cached GHC and cabal + # uses: actions/cache/restore@v4 + # id: ghc-cabal-cache + # env: + # key: ${{ runner.os }}-ghc-${{ matrix.ghc-version }}-cabal-${{ matrix.cabal-version }} + # with: + # path: | + # ${HOME}/.cabal/bin/cabal + # ${HOME}/.ghcup/bin/ghc-${{ matrix.ghc-version }} + # key: ${{ env.key }} + # restore-keys: ${{ env.key }}- - name: Set up GHC ${{ matrix.ghc-version }} if: steps.ghc-cabal-cache.outputs.cache-hit != 'true' @@ -47,14 +47,14 @@ jobs: cabal-version: ${{ matrix.cabal-version }} cabal-update: true - - name: Save cached GHC and cabal - uses: actions/cache/save@v4 - if: steps.cache.outputs.ghc-cabal-cache-hit != 'true' - with: - path: | - ~/.cabal/bin/cabal - ~/.ghcup/bin/ghc-${{ matrix.ghc-version }} - key: ${{ steps.ghc-cabal-cache.outputs.cache-primary-key }} + # - name: Save cached GHC and cabal + # uses: actions/cache/save@v4 + # if: steps.cache.outputs.ghc-cabal-cache-hit != 'true' + # with: + # path: | + # ${HOME}/.cabal/bin/cabal + # ${HOME}/.ghcup/bin/ghc-${{ matrix.ghc-version }} + # key: ${{ steps.ghc-cabal-cache.outputs.cache-primary-key }} - name: Configure the build run: |