Skip to content

Commit

Permalink
handle aarch64 and arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
bbednarek committed Feb 15, 2023
1 parent 67a61a0 commit 77ab8b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ runs:
if [[ $os == "macOS" ]]; then
os="Darwin"
fi
arch=$(uname -m)
if [[ "arch" =~ (aarch64|arm64) ]] ; then
arch=arm64
fi
if [[ ! -z ${tag} ]]; then
echo "Installing crane @ ${tag} for ${os} on ${arch}"
Expand Down

0 comments on commit 77ab8b6

Please sign in to comment.