Skip to content

Commit

Permalink
Tar with xz broken in runner?
Browse files Browse the repository at this point in the history
  • Loading branch information
guydavis committed May 6, 2024
1 parent c5dce34 commit f4d751b
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions scripts/forks/gigahorse_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,22 @@ else
arch_name="$(uname -m)"
if [[ "${arch_name}" == "x86_64" ]]; then
url="https://github.com/madMAx43v3r/chia-gigahorse/releases/download/${GIGAHORSE_BRANCH}/chia-gigahorse-farmer-${GIGAHORSE_VERSION}-x86_64.tar.gz"
echo "Pulling Madmax closed-source Chia farming binary from..."
echo ${url}
cd / && curl --retry 5 --retry-max-time 120 -skJLO ${url}
du -hsc chia-gigahorse-farmer*
tar -xzf chia-gigahorse-farmer*
else
url="https://github.com/madMAx43v3r/chia-gigahorse/releases/download/${GIGAHORSE_BRANCH}/chia-gigahorse-farmer-${GIGAHORSE_VERSION}-aarch64.tar.xz"
echo "Pulling Madmax closed-source Chia farming binary from..."
echo ${url}
cd / && curl --retry 5 --retry-max-time 120 -skJLO ${url}
du -hsc chia-gigahorse-farmer*
cksum chia-gigahorse-farmer*
tar --version
#tar -xzf chia-gigahorse-farmer* # Fails?
which unxz
unxz --version
unxz chia-gigahorse-farmer*
fi
echo "Pulling Madmax closed-source Chia farming binary from..."
echo ${url}
cd / && curl --retry 5 --retry-max-time 120 -skJLO ${url}
du -hsc chia-gigahorse-farmer*
tar -xzf chia-gigahorse-farmer*
fi

0 comments on commit f4d751b

Please sign in to comment.