Skip to content

Commit

Permalink
Merge #2815
Browse files Browse the repository at this point in the history
2815: Upgrade to actions/cache@v2 r=newhoggy a=newhoggy

Before:

![image](https://user-images.githubusercontent.com/63014/102153270-f6364600-3eca-11eb-9dfd-1a727cf82914.png)

After:

![image](https://user-images.githubusercontent.com/63014/102153262-f0406500-3eca-11eb-8ecb-da99b336d20a.png)


Co-authored-by: John Ky <john.ky@iohk.io>
  • Loading branch information
iohk-bors[bot] and newhoggy authored Dec 15, 2020
2 parents 4fdc309 + 9298d2d commit 3548716
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
os: [ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2

- name: Select build directory
run: |
Expand Down Expand Up @@ -95,26 +95,26 @@ jobs:
# Cache cabal-store
- name: cache cabal store
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ${{ steps.setup-haskell.outputs.cabal-store }}
key: cabal-store-8.10.2
key: cabal-store-${{ matrix.ghc }}-${{ matrix.os }}
# Cache parts of dist-newstyle (C:\dist)
- name: cache buiddir [cache]
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: C:\dist\cache
key: dist-cache
key: dist-cache-${{ matrix.ghc }}-${{ matrix.os }}
- name: cache buiddir [src]
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: C:\dist\src
key: dist-src
key: dist-src-${{ matrix.ghc }}-${{ matrix.os }}
- name: cache builddir [packagedb]
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: C:\dist\packagedb
key: dist-packagedb
key: dist-packagedb-${{ matrix.ghc }}-${{ matrix.os }}

- name: update Hackage index
run: cabal v2-update
Expand All @@ -123,8 +123,7 @@ jobs:
- name: checkout ouroboros-network repository
uses: actions/checkout@v2

# Build dependencies
- name: Build dependencies
- name: Cabal Configure
run: cabal --builddir="$CABAL_BUILDDIR" configure --enable-tests

- name: Use cabal.project.local.windows
Expand Down

0 comments on commit 3548716

Please sign in to comment.