mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 03:42:25 +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: |
|
run: |
|
||||||
mkdir -p ~/.local/bin
|
mkdir -p ~/.local/bin
|
||||||
export PATH=~/.local/bin:$PATH
|
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
|
# 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
|
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
|
$stack --version
|
||||||
env:
|
env:
|
||||||
stack: ${{ matrix.plan.stack }}
|
stack: ${{ matrix.plan.stack }}
|
||||||
|
4
.github/workflows/mac.yml
vendored
4
.github/workflows/mac.yml
vendored
@ -114,8 +114,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.local/bin
|
mkdir -p ~/.local/bin
|
||||||
export PATH=~/.local/bin:$PATH
|
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
|
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 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack; fi
|
# 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
|
$stack --version
|
||||||
|
|
||||||
- name: Install GHC
|
- 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'
|
#if: steps.stack-programs-dir.outputs.cache-hit != 'true'
|
||||||
# this step is needed to get stack.exe into PATH, for now
|
# this step is needed to get stack.exe into PATH, for now
|
||||||
run: |
|
run: |
|
||||||
curl -skL -o stack.zip http://get.haskellstack.org/stable/windows-x86_64
|
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 -oC:\Windows stack.exe
|
||||||
|
7z x stack.zip stack.exe
|
||||||
which stack
|
which stack
|
||||||
stack --version
|
stack --version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user