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:
parent
9cac40f42e
commit
706a72cba0
1 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue