File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 3333 with :
3434 path : ~/.cabal/store
3535 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
3644 - name : ghcup
3745 run : |
3846 ghcup config set cache true
Original file line number Diff line number Diff line change 3131 path : " ~/.local/bin"
3232 key : fix-whitespace-${{ env.fix-whitespace-ver }}
3333
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+
3443 - uses : haskell/actions/setup@v2
3544 if : ${{ !steps.cache.outputs.cache-hit }}
3645 with :
You can’t perform that action at this time.
0 commit comments