Skip to content
Snippets Groups Projects
Unverified Commit a7143736 authored by Mikolaj Konarski's avatar Mikolaj Konarski
Browse files

Work around ghcup cache woes also in our dogfooding CI scripts

parent 4756705c
No related branches found
No related tags found
No related merge requests found
......@@ -274,6 +274,16 @@ jobs:
steps:
- uses: actions/checkout@v3
# See https://github.com/haskell/cabal/pull/8739
- name: Sudo chmod to permit ghcup to update its cache
run: |
if [[ "${{ runner.os }}" == "Linux" ]]; then
sudo ls -lah /usr/local/.ghcup/cache
sudo mkdir -p /usr/local/.ghcup/cache
sudo ls -lah /usr/local/.ghcup/cache
sudo chown -R $USER /usr/local/.ghcup
sudo chmod -R 777 /usr/local/.ghcup
fi
- uses: haskell/actions/setup@v2
id: setup-haskell
with:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment