Skip to content

Commit

Permalink
continue being more specific about cacheing.
Browse files Browse the repository at this point in the history
  • Loading branch information
julialongtin committed Jan 28, 2024
1 parent c918db9 commit 5c20d28
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ jobs:
fi
- name: freeze
run: cabal freeze
- uses: "actions/cache/restore@v4"
- name: Restore build artifacts
id: build-hslice-restore
uses: "actions/cache/restore@v4"
with:
key: "${{ runner.os }}-${{ matrix.ghc }}-cabal-${{ hashFiles('cabal.project.freeze') }}"
path: "${{ steps.setup-haskell-cabal.outputs.cabal-store }} dist-newstyle"
- name: Install dependencies
run: cabal build all --enable-tests --enable-benchmarks --only-dependencies
- name: build all
run: cabal build all --enable-tests --enable-benchmarks
- uses: "actions/cache/save@v4"
- name: Save build artifacts
uses: "actions/cache/save@v4"
with:
key: "${{ runner.os }}-${{ matrix.ghc }}-cabal-${{ hashFiles('cabal.project.freeze') }}"
path: "${{ steps.setup-haskell-cabal.outputs.cabal-store }} dist-newstyle"
Expand Down Expand Up @@ -66,8 +66,8 @@ jobs:
fi
- name: freeze
run: cabal freeze
- uses: "actions/cache/restore@v4"
- name: Restore build artifacts
uses: "actions/cache/restore@v4"
id: build-hslice-restore
with:
key: "${{ runner.os }}-${{ matrix.ghc }}-cabal-${{ hashFiles('cabal.project.freeze') }}"
Expand All @@ -76,8 +76,8 @@ jobs:
run: cabal build all --enable-tests --enable-benchmarks --only-dependencies
- name: build all
run: cabal build all --enable-tests --enable-benchmarks
- uses: "actions/cache/save@v4"
- name: Save build artifacts
uses: "actions/cache/save@v4"
with:
key: "${{ runner.os }}-${{ matrix.ghc }}-cabal-${{ hashFiles('cabal.project.freeze') }}"
path: "${{ steps.setup-haskell-cabal.outputs.cabal-store }} dist-newstyle"
Expand Down

0 comments on commit 5c20d28

Please sign in to comment.