on master help sign in
packdiff CI: update ghcup version, bump cache
af7ef4bHarendra Kumar
.github/workflows/packdiff.yml+3−2
@@ -11,7 +11,8 @@ jobs:
11
11
12 - name: Download ghc
12 - name: Download ghc
13 run: |
13 run: |
14+ GHCUP_VER=0.1.18.0
14− curl -sL -o ./ghcup https://downloads.haskell.org/~ghcup/0.1.17.4/x86_64-linux-ghcup-0.1.17.4
15+ curl -sL -o ./ghcup https://downloads.haskell.org/~ghcup/$GHCUP_VER/x86_64-linux-ghcup-$GHCUP_VER
15 chmod +x ./ghcup
16 chmod +x ./ghcup
16 GHCVER=8.10.7
17 GHCVER=8.10.7
17 ./ghcup install ghc $GHCVER
18 ./ghcup install ghc $GHCVER
@@ -24,7 +25,7 @@ jobs:
24 path: |
25 path: |
25 ~/.cabal
26 ~/.cabal
26 # Bump the key version to clear the cache
27 # Bump the key version to clear the cache
27− key: cache-v1
28+ key: cache-v2
28
29
29 - name: Checkout the current branch
30 - name: Checkout the current branch
30 uses: actions/checkout@v2
31 uses: actions/checkout@v2