;ci: tweak

This commit is contained in:
Simon Michael 2020-10-18 22:10:57 -07:00
parent 484c69f795
commit aaaa1bd5cc
3 changed files with 5 additions and 5 deletions

View File

@ -159,8 +159,8 @@ jobs:
run: |
mkdir -p ~/.local/bin
export PATH=~/.local/bin:$PATH
curl -sL https://stackage.org/stack/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack
# if [[ ! -x ~/.local/bin/stack ]]; then curl -sL https://stackage.org/stack/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack; fi
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
# 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
$stack --version
env:
stack: ${{ matrix.plan.stack }}

View File

@ -114,8 +114,8 @@ jobs:
run: |
mkdir -p ~/.local/bin
export PATH=~/.local/bin:$PATH
curl -sL https://www.stackage.org/stack/osx-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack
# if [[ ! -x ~/.local/bin/stack ]]; then curl -sL https://www.stackage.org/stack/osx-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack; fi
curl -sL https://get.haskellstack.org/stable/osx-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack
# if [[ ! -x ~/.local/bin/stack ]]; then curl -sL https://get.haskellstack.org/stable/osx-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack; fi
$stack --version
- name: Install GHC

View File

@ -121,7 +121,7 @@ jobs:
#if: steps.stack-programs-dir.outputs.cache-hit != 'true'
# this step is needed to get stack.exe into PATH, for now
run: |
curl -skL -o stack.zip http://www.stackage.org/stack/windows-x86_64
curl -skL -o stack.zip http://get.haskellstack.org/stable/windows-x86_64
7z x stack.zip -oC:\Windows stack.exe
which stack
stack --version