mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-25 19:31:44 +03:00
;ci: tweak
This commit is contained in:
parent
aaaa1bd5cc
commit
655ae2a9bb
4
.github/workflows/linux.yml
vendored
4
.github/workflows/linux.yml
vendored
@ -159,8 +159,8 @@ jobs:
|
||||
run: |
|
||||
mkdir -p ~/.local/bin
|
||||
export PATH=~/.local/bin:$PATH
|
||||
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
|
||||
# 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 }}
|
||||
|
4
.github/workflows/mac.yml
vendored
4
.github/workflows/mac.yml
vendored
@ -114,8 +114,8 @@ jobs:
|
||||
run: |
|
||||
mkdir -p ~/.local/bin
|
||||
export PATH=~/.local/bin:$PATH
|
||||
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
|
||||
curl -sL https://get.haskellstack.org/stable/osx-x86_64 | gtar 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 | gtar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack; fi
|
||||
$stack --version
|
||||
|
||||
- name: Install GHC
|
||||
|
5
.github/workflows/windows.yml
vendored
5
.github/workflows/windows.yml
vendored
@ -121,8 +121,9 @@ 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://get.haskellstack.org/stable/windows-x86_64
|
||||
7z x stack.zip -oC:\Windows stack.exe
|
||||
curl -sL https://get.haskellstack.org/stable/windows-x86_64 -o stack.zip
|
||||
# 7z x stack.zip -oC:\Windows stack.exe
|
||||
7z x stack.zip stack.exe
|
||||
which stack
|
||||
stack --version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user