File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,13 +51,14 @@ jobs:
5151 run : |
5252 set -euo pipefail
5353 curl -fsSL --retry 3 --retry-delay 2 \
54- -o /tmp/trufflehog.tgz \
54+ -o " /tmp/${TRUFFLEHOG_ARCHIVE}" \
5555 "https://github.com/trufflesecurity/trufflehog/releases/download/${TRUFFLEHOG_VERSION}/${TRUFFLEHOG_ARCHIVE}"
5656 curl -fsSL --retry 3 --retry-delay 2 \
5757 -o /tmp/trufflehog_checksums.txt \
5858 "https://github.com/trufflesecurity/trufflehog/releases/download/${TRUFFLEHOG_VERSION}/trufflehog_${TRUFFLEHOG_VERSION#v}_checksums.txt"
59- grep " ${TRUFFLEHOG_ARCHIVE}\$" /tmp/trufflehog_checksums.txt | sha256sum --check -
60- tar -xzf /tmp/trufflehog.tgz -C /tmp trufflehog
59+ cd /tmp
60+ grep " ${TRUFFLEHOG_ARCHIVE}\$" trufflehog_checksums.txt | sha256sum --check -
61+ tar -xzf "${TRUFFLEHOG_ARCHIVE}" trufflehog
6162 sudo install /tmp/trufflehog /usr/local/bin/trufflehog
6263 trufflehog --version
6364
You can’t perform that action at this time.
0 commit comments