Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/actions/argocd-wait-sync/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,14 @@ runs:
- name: Install ArgoCD CLI
shell: bash
run: |
echo "Installing ArgoCD CLI..."
curl -sSL -o argocd https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64
ARCH=$(uname -m)
case "$ARCH" in
x86_64) ARGOCD_ARCH="amd64" ;;
aarch64) ARGOCD_ARCH="arm64" ;;
*) echo "Unsupported architecture: $ARCH"; exit 1 ;;
esac
echo "Installing ArgoCD CLI for $ARGOCD_ARCH..."
curl -sSL -o argocd "https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-${ARGOCD_ARCH}"
sudo install -m 755 argocd /usr/local/bin/argocd
rm argocd
argocd version --client
Expand Down
Loading