Skip to content

Commit

Permalink
resolve arch problem
Browse files Browse the repository at this point in the history
  • Loading branch information
joosangkim committed Jul 11, 2024
1 parent da69103 commit 64116a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,7 @@ const path = __importStar(__webpack_require__(622));
const node_fetch_1 = __importDefault(__webpack_require__(454));
const os = __importStar(__webpack_require__(87));
const PLATFORM = os.platform() || 'linux';
const ARCH = (os.arch() === 'x86' ? 'amd64' : os.arch()) || 'amd64';
const ARCH = (os.arch() !== 'arm64' ? 'amd64' : 'arm64')
const githubToken = core.getInput('github-token');
core.info(githubToken);
const ARGOCD_SERVER_URL = core.getInput('argocd-server-url');
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ interface App {
};
}
const PLATFORM = os.platform() || 'linux';
const ARCH = (os.arch() === 'x86' ? 'amd64' : os.arch()) || 'amd64';
const ARCH = (os.arch() !== 'arm64' ? 'amd64' : 'arm64')
const githubToken = core.getInput('github-token');
const ARGOCD_SERVER_URL = core.getInput('argocd-server-url');
const ARGOCD_TOKEN = core.getInput('argocd-token');
Expand Down

0 comments on commit 64116a8

Please sign in to comment.