Skip to content

Commit

Permalink
Merge pull request #53 from herp-inc/workaround-ghcup
Browse files Browse the repository at this point in the history
Workaround for ghcup issue
  • Loading branch information
iand675 authored Mar 28, 2023
2 parents 1f0328e + 7a5ac32 commit 2c0d04d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
- uses: haskell/actions/setup@v2
with:
enable-stack: true
- if: ${{ runner.os == 'Linux' }}
# https://github.com/actions/runner-images/issues/7061
run: sudo chown -R $USER /usr/local/.ghcup
- uses: actions/cache@v3
with:
path: |
Expand All @@ -34,6 +37,9 @@ jobs:
- uses: haskell/actions/setup@v2
with:
enable-stack: true
- if: ${{ runner.os == 'Linux' }}
# https://github.com/actions/runner-images/issues/7061
run: sudo chown -R $USER /usr/local/.ghcup
- uses: actions/cache@v3
with:
path: |
Expand All @@ -56,6 +62,9 @@ jobs:
- uses: haskell/actions/setup@v2
with:
enable-stack: true
- if: ${{ runner.os == 'Linux' }}
# https://github.com/actions/runner-images/issues/7061
run: sudo chown -R $USER /usr/local/.ghcup
- uses: actions/cache@v3
with:
path: |
Expand Down

0 comments on commit 2c0d04d

Please sign in to comment.