Open pnewhook opened 12 months ago
Describe the bug When running argo-cd-action on a custom runner, steps fail if the /home/actions/argocd directory already exists
To Reproduce Steps to reproduce the behavior:
Debug Log
##[debug][index] command: app,sync,foo,-l,argocd.argoproj.io/instance=bar ##[debug][index] options: --auth-token=*** ##[debug][index] version: 2.8.4 ##[debug]isExplicit: 2.8.4 ##[debug]explicit? true ##[debug]checking cache: /home/actions/_work/_tool/argocd/2.8.4/x64 ##[debug]not found ##[debug]Unable to find "argocd" executable, downloading it now ##[debug][debug()] getExecutableUrl: https://github.com/argoproj/argo-cd/releases/download/v2.8.4/argocd-linux-amd64 ##[debug]Downloading https://github.com/argoproj/argo-cd/releases/download/v2.8.4/argocd-linux-amd64 ##[debug]Destination /home/actions/argocd Destination file path /home/actions/argocd already exists Waiting 16 seconds before trying again Destination file path /home/actions/argocd already exists Waiting 17 seconds before trying again Error: Destination file path /home/actions/argocd already exists
I am getting this issue as well running version 2.6.7 on self hosted runners
Describe the bug When running argo-cd-action on a custom runner, steps fail if the /home/actions/argocd directory already exists
To Reproduce Steps to reproduce the behavior:
Debug Log