mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 02:16:45 +00:00
Refactor arch mapping to distributionArchitecture method
This commit is contained in:
parent
cca7653671
commit
e169777d50
2 changed files with 9 additions and 5 deletions
|
@ -149,4 +149,8 @@ export abstract class JavaBase {
|
|||
core.setOutput('path', toolPath);
|
||||
core.setOutput('version', version);
|
||||
}
|
||||
|
||||
protected distributionArchitecture(): string {
|
||||
return this.architecture;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue