Skip to content

Commit

Permalink
Try to make stack available in PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
jhrcek committed Jun 29, 2024
1 parent 2c96c50 commit 55dc793
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ jobs:
path: ~/.stack
key: "${{ runner.os }}-${{ matrix.ghc }}-v9-${{ hashFiles('stylish-haskell.cabal', 'stack.yaml', 'stack.yaml.lock') }}"

- name: Add ~/.local/bin to PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Add ~/.local/bin and ~/.ghcup/bin to PATH
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "$HOME/.ghcup/bin" >> $GITHUB_PATH
- name: Build
run: make build
Expand Down

0 comments on commit 55dc793

Please sign in to comment.