File tree 2 files changed +17
-0
lines changed 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 33
33
with :
34
34
path : ~/.cabal/store
35
35
key : linux-store-changelogs
36
+ # See https://github.com/haskell/cabal/pull/8739
37
+ - name : Sudo chmod to permit ghcup to update its cache
38
+ run : |
39
+ if [[ "${{ runner.os }}" == "Linux" ]]; then
40
+ sudo mkdir -p /usr/local/.ghcup/cache
41
+ sudo chown -R $USER /usr/local/.ghcup
42
+ sudo chmod -R 777 /usr/local/.ghcup
43
+ fi
36
44
- name : ghcup
37
45
run : |
38
46
ghcup config set cache true
Original file line number Diff line number Diff line change 31
31
path : " ~/.local/bin"
32
32
key : fix-whitespace-${{ env.fix-whitespace-ver }}
33
33
34
+ # See https://github.com/haskell/cabal/pull/8739
35
+ - name : Sudo chmod to permit ghcup to update its cache
36
+ run : |
37
+ if [[ "${{ runner.os }}" == "Linux" ]]; then
38
+ sudo mkdir -p /usr/local/.ghcup/cache
39
+ sudo chown -R $USER /usr/local/.ghcup
40
+ sudo chmod -R 777 /usr/local/.ghcup
41
+ fi
42
+
34
43
- uses : haskell/actions/setup@v2
35
44
if : ${{ !steps.cache.outputs.cache-hit }}
36
45
with :
You can’t perform that action at this time.
0 commit comments