mirror of
https://github.com/Yvee1/hascard.git
synced 2024-11-22 04:33:06 +03:00
Try to fix install-stack.sh script
This commit is contained in:
parent
203b54b32d
commit
a3e398da82
2
.github/scripts/install-ghr.sh
vendored
2
.github/scripts/install-ghr.sh
vendored
@ -4,7 +4,7 @@ if test ! "$GITHUB_REF"
|
||||
then
|
||||
echo 'This is not a release build.'
|
||||
else
|
||||
if [ "$RUNNER_OS" = "linux" ]
|
||||
if [ "$RUNNER_OS" = "Linux" ]
|
||||
then
|
||||
ARCH="linux"
|
||||
else
|
||||
|
6
.github/scripts/install-stack.sh
vendored
6
.github/scripts/install-stack.sh
vendored
@ -5,6 +5,12 @@ then
|
||||
echo 'Stack is already installed.'
|
||||
else
|
||||
echo "Installing Stack for $RUNNER_OS..."
|
||||
if [ "$RUNNER_OS" = "Linux" ]
|
||||
then
|
||||
ARCH="linux"
|
||||
else
|
||||
ARCH="osx"
|
||||
fi
|
||||
URL="https://www.stackage.org/stack/$RUNNER_OS-x86_64"
|
||||
curl --location "$URL" > stack.tar.gz
|
||||
gunzip stack.tar.gz
|
||||
|
Loading…
Reference in New Issue
Block a user