1
0
Fork 0
mirror of https://github.com/imjasonh/setup-crane synced 2026-07-06 22:52:45 +00:00

Quote remaining shell variables

This commit is contained in:
copilot-swe-agent[bot] 2026-06-26 22:31:13 +00:00 committed by GitHub
parent 9cac40f42e
commit 706a72cba0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,13 +53,13 @@ runs:
if [[ ! -z "${url}" ]]; then
echo "Installing crane for ${os} on ${arch}"
tmp=$(mktemp -d)
cd ${tmp}
cd "${tmp}"
fname="go-containerregistry_${os}_${arch}.tar.gz"
curl -o "$fname" -fsSL --retry 5 --retry-delay 1 --retry-all-errors "${url}/${fname}"
tar xzf "$fname" "${out}"
chmod +x "${tmp}/${out}"
PATH=${PATH}:${tmp}
echo "${tmp}" >> $GITHUB_PATH
PATH="${PATH}:${tmp}"
echo "${tmp}" >> "$GITHUB_PATH"
fi
# NB: username doesn't seem to matter.