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 30, 2024
1 parent c0076a0 commit 2acaa69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ function scrubSecrets(input: string): string {

async function setupArgoCDCommand(): Promise<(params: string) => Promise<ExecResult>> {
const argoBinaryPath = 'bin/argo';
const arch = === 'x64' ? 'amd64' : os.arch()
await tc.downloadTool(
`https://github.com/argoproj/argo-cd/releases/download/${VERSION}/argocd-${PLATFORM}-${ARCH}`,
argoBinaryPath
Expand Down Expand Up @@ -209,6 +208,8 @@ async function run(): Promise<void> {
const argocd = await setupArgoCDCommand();
const apps = await getApps();
core.info(`Found apps: ${apps.map(a => a.metadata.name).join(', ')}`);
core.info(`check os : ${os.platform()}`);
core.info(`check arch : ${os.arch()}`);

const diffs: Diff[] = [];

Expand Down

0 comments on commit 2acaa69

Please sign in to comment.