From a198c2b65720897a937b3da0dd224bb4201d308f Mon Sep 17 00:00:00 2001 From: Mikolaj Konarski Date: Wed, 8 Feb 2023 11:09:05 +0100 Subject: [PATCH] Revert "Revert "Try to fix ghcup cache in CI via sudo chmod"" This reverts commit b3a843a861cbddbe8ae9d44b20250d806f331cd3. --- .github/workflows/validate.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index d952d1b3aff..72e471dbd6a 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -57,6 +57,11 @@ jobs: - uses: actions/checkout@v3 + - name: Sudo chmod to permit ghcup to update its cache + run: | + sudo mkdir -p /usr/local/.ghcup/cache + sudo chmod -R g+wr /usr/local/.ghcup/cache + - uses: haskell/actions/setup@v2 id: setup-haskell with: