mirror of
https://github.com/actions/setup-java.git
synced 2026-10-06 09:24:34 +03:00
Move to settings-path
This commit is contained in:
1 parent
ae11e1a1b6
commit
ce88feea94
5 files changed
+12
-9
No files matched your search
+2
-2
@@ -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}`);
|
||||
|
||||
Reference in new issue
Block a user