Skip to content

Commit

Permalink
fix path for ghcup
Browse files Browse the repository at this point in the history
  • Loading branch information
agentm committed May 27, 2024
1 parent f9f644e commit 6415c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ jobs:
ghc_version: 9.2
env:
STACK_YAML: stack.ghc${{ matrix.ghc_version }}.yaml
PATH: $PATH:~/.ghcup/bin
steps:
- uses: actions/checkout@v4
- name: Cache
Expand All @@ -64,6 +63,7 @@ jobs:
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
ghcup install ghc ${{ matrix.ghc_version }}
ghcup install stack
echo "~/.ghcup/bin" >> ${GITHUB_PATH}
- name: Build
run: stack build --ghc-options -O2 --local-bin-path out --copy-bins
- name: Test
Expand Down

0 comments on commit 6415c5b

Please sign in to comment.