@@ -89399,13 +89399,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
89399
89399
}) : function(o, v) {
89400
89400
o["default"] = v;
89401
89401
});
89402
- var __importStar = (this && this.__importStar) || function (mod) {
89403
- if (mod && mod.__esModule) return mod;
89404
- var result = {};
89405
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
89406
- __setModuleDefault(result, mod);
89407
- return result;
89408
- };
89402
+ var __importStar = (this && this.__importStar) || (function () {
89403
+ var ownKeys = function(o) {
89404
+ ownKeys = Object.getOwnPropertyNames || function (o) {
89405
+ var ar = [];
89406
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
89407
+ return ar;
89408
+ };
89409
+ return ownKeys(o);
89410
+ };
89411
+ return function (mod) {
89412
+ if (mod && mod.__esModule) return mod;
89413
+ var result = {};
89414
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
89415
+ __setModuleDefault(result, mod);
89416
+ return result;
89417
+ };
89418
+ })();
89409
89419
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
89410
89420
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
89411
89421
return new (P || (P = Promise))(function (resolve, reject) {
@@ -89419,7 +89429,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
89419
89429
return (mod && mod.__esModule) ? mod : { "default": mod };
89420
89430
};
89421
89431
Object.defineProperty(exports, "__esModule", ({ value: true }));
89422
- exports.run = void 0 ;
89432
+ exports.run = run ;
89423
89433
const core = __importStar(__nccwpck_require__(2186));
89424
89434
const cache = __importStar(__nccwpck_require__(7799));
89425
89435
const fs_1 = __importDefault(__nccwpck_require__(7147));
@@ -89458,7 +89468,6 @@ function run(earlyExit) {
89458
89468
}
89459
89469
});
89460
89470
}
89461
- exports.run = run;
89462
89471
const cachePackages = () => __awaiter(void 0, void 0, void 0, function* () {
89463
89472
const packageManager = 'default';
89464
89473
const state = core.getState(constants_1.State.CacheMatchedKey);
@@ -89517,13 +89526,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
89517
89526
}) : function(o, v) {
89518
89527
o["default"] = v;
89519
89528
});
89520
- var __importStar = (this && this.__importStar) || function (mod) {
89521
- if (mod && mod.__esModule) return mod;
89522
- var result = {};
89523
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
89524
- __setModuleDefault(result, mod);
89525
- return result;
89526
- };
89529
+ var __importStar = (this && this.__importStar) || (function () {
89530
+ var ownKeys = function(o) {
89531
+ ownKeys = Object.getOwnPropertyNames || function (o) {
89532
+ var ar = [];
89533
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
89534
+ return ar;
89535
+ };
89536
+ return ownKeys(o);
89537
+ };
89538
+ return function (mod) {
89539
+ if (mod && mod.__esModule) return mod;
89540
+ var result = {};
89541
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
89542
+ __setModuleDefault(result, mod);
89543
+ return result;
89544
+ };
89545
+ })();
89527
89546
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
89528
89547
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
89529
89548
return new (P || (P = Promise))(function (resolve, reject) {
@@ -89534,7 +89553,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
89534
89553
});
89535
89554
};
89536
89555
Object.defineProperty(exports, "__esModule", ({ value: true }));
89537
- exports.isCacheFeatureAvailable = exports.isGhes = exports.getCacheDirectoryPath = exports.getPackageManagerInfo = exports.getCommandOutput = void 0;
89556
+ exports.getCacheDirectoryPath = exports.getPackageManagerInfo = exports.getCommandOutput = void 0;
89557
+ exports.isGhes = isGhes;
89558
+ exports.isCacheFeatureAvailable = isCacheFeatureAvailable;
89538
89559
const cache = __importStar(__nccwpck_require__(7799));
89539
89560
const core = __importStar(__nccwpck_require__(2186));
89540
89561
const exec = __importStar(__nccwpck_require__(1514));
@@ -89584,7 +89605,6 @@ function isGhes() {
89584
89605
const isLocalHost = hostname.endsWith('.LOCALHOST');
89585
89606
return !isGitHubHost && !isGitHubEnterpriseCloudHost && !isLocalHost;
89586
89607
}
89587
- exports.isGhes = isGhes;
89588
89608
function isCacheFeatureAvailable() {
89589
89609
if (cache.isFeatureAvailable()) {
89590
89610
return true;
@@ -89596,7 +89616,6 @@ function isCacheFeatureAvailable() {
89596
89616
core.warning('The runner was not able to contact the cache service. Caching will be skipped');
89597
89617
return false;
89598
89618
}
89599
- exports.isCacheFeatureAvailable = isCacheFeatureAvailable;
89600
89619
89601
89620
89602
89621
/***/ }),
0 commit comments