mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 18:06:45 +00:00
Move to settings-path
This commit is contained in:
parent
ae11e1a1b6
commit
ce88feea94
5 changed files with 12 additions and 9 deletions
|
@ -19,8 +19,8 @@ export async function configAuthentication(
|
|||
// when an alternate m2 location is specified use only that location (no .m2 directory)
|
||||
// otherwise use the home/.m2/ path
|
||||
const directory: string = path.join(
|
||||
core.getInput('m2-home') || os.homedir(),
|
||||
core.getInput('m2-home') ? '' : M2_DIR
|
||||
core.getInput('settings-path') || os.homedir(),
|
||||
core.getInput('settings-path') ? '' : M2_DIR
|
||||
);
|
||||
await io.mkdirP(directory);
|
||||
core.debug(`created directory ${directory}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue