Skip to content

Commit fe545c6

Browse files
Update setup-java.ts
1 parent d202f5d commit fe545c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/setup-java.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ async function run() {
1313
}
1414

1515
const arch = core.getInput(constants.INPUT_ARCHITECTURE, {required: true});
16-
if (!['x86', 'x64'].includes(arch)) {
17-
throw new Error(`architecture "${arch}" is not in [x86 | x64]`);
16+
if (!['x86', 'x64', 'aarch64'].includes(arch)) {
17+
throw new Error(`architecture "${arch}" is not in [x86 | x64 | aarch64]`);
1818
}
1919

2020
const javaPackage = core.getInput(constants.INPUT_JAVA_PACKAGE, {

0 commit comments

Comments
 (0)