Skip to content

Commit a198c2b

Browse files
committed
Revert "Revert "Try to fix ghcup cache in CI via sudo chmod""
This reverts commit b3a843a.
1 parent 432fc2f commit a198c2b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/validate.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ jobs:
5757

5858
- uses: actions/checkout@v3
5959

60+
- name: Sudo chmod to permit ghcup to update its cache
61+
run: |
62+
sudo mkdir -p /usr/local/.ghcup/cache
63+
sudo chmod -R g+wr /usr/local/.ghcup/cache
64+
6065
- uses: haskell/actions/setup@v2
6166
id: setup-haskell
6267
with:

0 commit comments

Comments
 (0)