Skip to content

Commit 1e78257

Browse files
esolitosCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4427a73 commit 1e78257

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/mend.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@ jobs:
122122
exit 0
123123
fi
124124
125+
ARCH=$(uname -m)
126+
case $ARCH in
127+
x86_64) ARCH="amd64" ;;
128+
aarch64) ARCH="arm64" ;;
129+
esac
125130
CLI_URL="https://downloads.mend.io/cli/linux_${ARCH}/mend"
126131
curl -fsSL "${CLI_URL}" -o /tmp/mend
127132
sudo mv /tmp/mend /usr/local/bin/mend

0 commit comments

Comments
 (0)