Skip to content

Commit 034b7a7

Browse files
committed
forgot to run build
1 parent 91d1667 commit 034b7a7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

dist/cleanup/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -962,6 +962,7 @@ exports.INPUT_JDK_FILE = 'jdkFile';
962962
exports.INPUT_SERVER_ID = 'server-id';
963963
exports.INPUT_SERVER_USERNAME = 'server-username';
964964
exports.INPUT_SERVER_PASSWORD = 'server-password';
965+
exports.INPUT_SETTINGS_PATH = 'settings-path';
965966
exports.INPUT_GPG_PRIVATE_KEY = 'gpg-private-key';
966967
exports.INPUT_GPG_PASSPHRASE = 'gpg-passphrase';
967968
exports.INPUT_DEFAULT_GPG_PASSPHRASE = 'GPG_PASSPHRASE';

dist/setup/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13204,14 +13204,15 @@ const path = __importStar(__webpack_require__(622));
1320413204
const core = __importStar(__webpack_require__(470));
1320513205
const io = __importStar(__webpack_require__(1));
1320613206
const xmlbuilder2_1 = __webpack_require__(255);
13207+
const constants = __importStar(__webpack_require__(694));
1320713208
exports.M2_DIR = '.m2';
1320813209
exports.SETTINGS_FILE = 'settings.xml';
1320913210
function configAuthentication(id, username, password, gpgPassphrase = undefined) {
1321013211
return __awaiter(this, void 0, void 0, function* () {
1321113212
console.log(`creating ${exports.SETTINGS_FILE} with server-id: ${id};`, 'environment variables:', `username=\$${username},`, `password=\$${password},`, `and gpg-passphrase=${gpgPassphrase ? '$' + gpgPassphrase : null}`);
1321213213
// when an alternate m2 location is specified use only that location (no .m2 directory)
1321313214
// otherwise use the home/.m2/ path
13214-
const settingsDirectory = path.join(core.getInput('settings-path') || os.homedir(), core.getInput('settings-path') ? '' : exports.M2_DIR);
13215+
const settingsDirectory = path.join(core.getInput(constants.INPUT_SETTINGS_PATH) || os.homedir(), core.getInput(constants.INPUT_SETTINGS_PATH) ? '' : exports.M2_DIR);
1321513216
yield io.mkdirP(settingsDirectory);
1321613217
core.debug(`created directory ${settingsDirectory}`);
1321713218
yield write(settingsDirectory, generate(id, username, password, gpgPassphrase));
@@ -25661,6 +25662,7 @@ exports.INPUT_JDK_FILE = 'jdkFile';
2566125662
exports.INPUT_SERVER_ID = 'server-id';
2566225663
exports.INPUT_SERVER_USERNAME = 'server-username';
2566325664
exports.INPUT_SERVER_PASSWORD = 'server-password';
25665+
exports.INPUT_SETTINGS_PATH = 'settings-path';
2566425666
exports.INPUT_GPG_PRIVATE_KEY = 'gpg-private-key';
2566525667
exports.INPUT_GPG_PASSPHRASE = 'gpg-passphrase';
2566625668
exports.INPUT_DEFAULT_GPG_PASSPHRASE = 'GPG_PASSPHRASE';

0 commit comments

Comments
 (0)