@@ -14098,21 +14098,24 @@ const install_1 = __webpack_require__(655);
1409814098const system_1 = __webpack_require__(913);
1409914099function run() {
1410014100 return __awaiter(this, void 0, void 0, function* () {
14101- const path = yield install_1.install( {
14101+ const config = {
1410214102 version: core_1.getInput('expo-version') || 'latest',
1410314103 packager: core_1.getInput('expo-packager') || 'yarn',
1410414104 cache: (core_1.getInput('expo-cache') || 'false') === 'true',
1410514105 cacheKey: core_1.getInput('expo-cache-key') || undefined,
14106- });
14106+ };
14107+ const path = yield core_1.group(config.cache
14108+ ? `Installing Expo CLI from cache or with ${config.packager}`
14109+ : `Installing Expo CLI with ${config.packager}`, () => install_1.install(config));
1410714110 core_1.addPath(path);
14108- yield expo_1.authenticate({
14111+ yield core_1.group('Checking current authenticated account', () => expo_1.authenticate({
1410914112 token: core_1.getInput('expo-token') || undefined,
1411014113 username: core_1.getInput('expo-username') || undefined,
1411114114 password: core_1.getInput('expo-password') || undefined,
14112- });
14115+ })) ;
1411314116 const shouldPatchWatchers = core_1.getInput('expo-patch-watchers') || 'true';
1411414117 if (shouldPatchWatchers !== 'false') {
14115- yield system_1.patchWatchers();
14118+ yield core_1.group('Patching system watchers for the `ENOSPC` error', () => system_1.patchWatchers() );
1411614119 }
1411714120 });
1411814121}
@@ -22837,6 +22840,7 @@ function authenticate(options) {
2283722840 return authWithCredentials(options.username, options.password);
2283822841 }
2283922842 core.info('Skipping authentication: `expo-token`, `expo-username`, and/or `expo-password` not set...');
22843+ return Promise.resolve();
2284022844}
2284122845exports.authenticate = authenticate;
2284222846
0 commit comments