Skip to content

Commit

Permalink
GitHub Actions: use 'stack config' command for setting system-ghc con…
Browse files Browse the repository at this point in the history
…figuration
  • Loading branch information
msakai committed Aug 23, 2024
1 parent 1e6533a commit 358dfdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:

- name: Build
run: |
stack config set system-ghc --global true
sed -i "s/resolver: .*/resolver: ${{ matrix.resolver }}/" stack.yaml
echo "system-ghc: true" >> stack.yaml
stack build --test --no-run-tests --bench --no-run-benchmarks ${{ matrix.flags }}
- name: Test
Expand Down

0 comments on commit 358dfdd

Please sign in to comment.