@@ -51577,7 +51577,7 @@ function expand(str, isTop) {
51577
51577
var isOptions = m.body.indexOf(',') >= 0;
51578
51578
if (!isSequence && !isOptions) {
51579
51579
// {a},b}
51580
- if (m.post.match(/,.*\}/)) {
51580
+ if (m.post.match(/,(?!,) .*\}/)) {
51581
51581
str = m.pre + '{' + m.body + escClose + m.post;
51582
51582
return expand(str);
51583
51583
}
@@ -86631,13 +86631,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
86631
86631
}) : function(o, v) {
86632
86632
o["default"] = v;
86633
86633
});
86634
- var __importStar = (this && this.__importStar) || function (mod) {
86635
- if (mod && mod.__esModule) return mod;
86636
- var result = {};
86637
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
86638
- __setModuleDefault(result, mod);
86639
- return result;
86640
- };
86634
+ var __importStar = (this && this.__importStar) || (function () {
86635
+ var ownKeys = function(o) {
86636
+ ownKeys = Object.getOwnPropertyNames || function (o) {
86637
+ var ar = [];
86638
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
86639
+ return ar;
86640
+ };
86641
+ return ownKeys(o);
86642
+ };
86643
+ return function (mod) {
86644
+ if (mod && mod.__esModule) return mod;
86645
+ var result = {};
86646
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
86647
+ __setModuleDefault(result, mod);
86648
+ return result;
86649
+ };
86650
+ })();
86641
86651
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
86642
86652
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
86643
86653
return new (P || (P = Promise))(function (resolve, reject) {
@@ -86651,7 +86661,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
86651
86661
return (mod && mod.__esModule) ? mod : { "default": mod };
86652
86662
};
86653
86663
Object.defineProperty(exports, "__esModule", ({ value: true }));
86654
- exports.run = void 0 ;
86664
+ exports.run = run ;
86655
86665
const core = __importStar(__nccwpck_require__(2186));
86656
86666
const cache = __importStar(__nccwpck_require__(7799));
86657
86667
const fs_1 = __importDefault(__nccwpck_require__(7147));
@@ -86690,7 +86700,6 @@ function run(earlyExit) {
86690
86700
}
86691
86701
});
86692
86702
}
86693
- exports.run = run;
86694
86703
const cachePackages = () => __awaiter(void 0, void 0, void 0, function* () {
86695
86704
const packageManager = 'default';
86696
86705
const state = core.getState(constants_1.State.CacheMatchedKey);
@@ -86749,13 +86758,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
86749
86758
}) : function(o, v) {
86750
86759
o["default"] = v;
86751
86760
});
86752
- var __importStar = (this && this.__importStar) || function (mod) {
86753
- if (mod && mod.__esModule) return mod;
86754
- var result = {};
86755
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
86756
- __setModuleDefault(result, mod);
86757
- return result;
86758
- };
86761
+ var __importStar = (this && this.__importStar) || (function () {
86762
+ var ownKeys = function(o) {
86763
+ ownKeys = Object.getOwnPropertyNames || function (o) {
86764
+ var ar = [];
86765
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
86766
+ return ar;
86767
+ };
86768
+ return ownKeys(o);
86769
+ };
86770
+ return function (mod) {
86771
+ if (mod && mod.__esModule) return mod;
86772
+ var result = {};
86773
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
86774
+ __setModuleDefault(result, mod);
86775
+ return result;
86776
+ };
86777
+ })();
86759
86778
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
86760
86779
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
86761
86780
return new (P || (P = Promise))(function (resolve, reject) {
@@ -86766,7 +86785,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
86766
86785
});
86767
86786
};
86768
86787
Object.defineProperty(exports, "__esModule", ({ value: true }));
86769
- exports.isCacheFeatureAvailable = exports.isGhes = exports.getCacheDirectoryPath = exports.getPackageManagerInfo = exports.getCommandOutput = void 0;
86788
+ exports.getCacheDirectoryPath = exports.getPackageManagerInfo = exports.getCommandOutput = void 0;
86789
+ exports.isGhes = isGhes;
86790
+ exports.isCacheFeatureAvailable = isCacheFeatureAvailable;
86770
86791
const cache = __importStar(__nccwpck_require__(7799));
86771
86792
const core = __importStar(__nccwpck_require__(2186));
86772
86793
const exec = __importStar(__nccwpck_require__(1514));
@@ -86816,7 +86837,6 @@ function isGhes() {
86816
86837
const isLocalHost = hostname.endsWith('.LOCALHOST');
86817
86838
return !isGitHubHost && !isGitHubEnterpriseCloudHost && !isLocalHost;
86818
86839
}
86819
- exports.isGhes = isGhes;
86820
86840
function isCacheFeatureAvailable() {
86821
86841
if (cache.isFeatureAvailable()) {
86822
86842
return true;
@@ -86828,7 +86848,6 @@ function isCacheFeatureAvailable() {
86828
86848
core.warning('The runner was not able to contact the cache service. Caching will be skipped');
86829
86849
return false;
86830
86850
}
86831
- exports.isCacheFeatureAvailable = isCacheFeatureAvailable;
86832
86851
86833
86852
86834
86853
/***/ }),
0 commit comments