Skip to content

Commit dde95c7

Browse files
committed
Try to fix ghcup cache in CI via sudo chmod
1 parent a5ddb14 commit dde95c7

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 /usr/local/.ghcup
63+
sudo chmod -R g+wr /usr/local/.ghcup
64+
6065
- uses: haskell/actions/setup@v2
6166
id: setup-haskell
6267
with:

0 commit comments

Comments
 (0)