Skip to content

Commit 9e6fdf4

Browse files
committed
ci: force install of latest stack
1 parent 1613e74 commit 9e6fdf4

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,13 @@ jobs:
7474
restore-keys: |
7575
${{ runner.os }}-stack-work-${{ matrix.plan.ghc }}
7676
77-
- name: Show stack version
78-
# curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C $INSTALLDIR '*/stack'
79-
# mkdir -p ~/.local/bin
80-
# export PATH=~/.local/bin:$PATH
81-
# if [[ ! -x ~/.local/bin/stack ]]; then curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack; fi
82-
env:
83-
stack: ${{ matrix.plan.stack }}
77+
- name: Install stack
8478
run: |
85-
$stack --version
79+
mkdir -p ~/.local/bin
80+
export PATH=~/.local/bin:$PATH
81+
curl -sL https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack
82+
# if [[ ! -x ~/.local/bin/stack ]]; then curl -sL https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack; fi
83+
stack --version
8684
8785
- name: Install GHC
8886
env:

0 commit comments

Comments
 (0)