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 05bfa98 commit da69103
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 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() || 'amd64';
const ARCH = (os.arch() === 'x86' ? 'amd64' : os.arch()) || 'amd64';
const githubToken = core.getInput('github-token');
core.info(githubToken);
const ARGOCD_SERVER_URL = core.getInput('argocd-server-url');
Expand Down Expand Up @@ -8688,7 +8688,7 @@ function bytesToUuid(buf, offset) {
var i = offset || 0;
var bth = byteToHex;
// join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
return ([bth[buf[i++]], bth[buf[i++]],
return ([bth[buf[i++]], bth[buf[i++]],
bth[buf[i++]], bth[buf[i++]], '-',
bth[buf[i++]], bth[buf[i++]], '-',
bth[buf[i++]], bth[buf[i++]], '-',
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() || 'amd64';
const ARCH = (os.arch() === 'x86' ? 'amd64' : os.arch()) || 'amd64';
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 da69103

Please sign in to comment.