Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
joosangkim authored May 29, 2024
1 parent 9b2139e commit a9f76b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const ARCH = process.arch || 'amd64';
const githubToken = core.getInput('github-token');
core.info(githubToken);
core.debug(process.arch);
core.debug(process.platfor);
core.debug(process.platform);
const ARGOCD_SERVER_URL = core.getInput('argocd-server-url');
const ARGOCD_TOKEN = core.getInput('argocd-token');
const VERSION = core.getInput('argocd-version');
Expand Down Expand Up @@ -72,7 +72,7 @@ function scrubSecrets(input: string): string {
async function setupArgoCDCommand(): Promise<(params: string) => Promise<ExecResult>> {
const argoBinaryPath = 'bin/argo';
await tc.downloadTool(
`https://github.com/argoproj/argo-cd/releases/download/${VERSION}/argocd-${PLATFORM}-${ARCH}`,
`https://github.com?/argoproj/argo-cd/releases/download/${VERSION}/argocd-${PLATFORM}-${ARCH}`,
argoBinaryPath
);
fs.chmodSync(path.join(argoBinaryPath), '755');
Expand Down

0 comments on commit a9f76b3

Please sign in to comment.