Use $HOME directory
This commit is contained in:
		| @ -16,8 +16,7 @@ export async function configAuthentication( | ||||
|     console.log( | ||||
|       `creating ${SETTINGS_FILE} with server-id: ${id}, username: ${username}, and a password` | ||||
|     ); | ||||
|     const home: string = process.env['GITHUB_WORKSPACE'] || os.homedir(); | ||||
|     const directory: string = path.join(home, M2_DIR); | ||||
|     const directory: string = path.join(os.homedir(), M2_DIR); | ||||
|     await io.mkdirP(directory); | ||||
|     core.debug(`created directory ${directory}`); | ||||
|     await write(directory, generate(id, username, password)); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Bryan Clark
					Bryan Clark