Compare commits
3 Commits
main
...
update_fla
Author | SHA1 | Date | |
---|---|---|---|
|
52fab9f580 | ||
edcf00a8ad | |||
eb9a36e286 |
232
dist/index.js
vendored
232
dist/index.js
vendored
@@ -1,7 +1,7 @@
|
|||||||
import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";
|
import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";
|
||||||
/******/ var __webpack_modules__ = ({
|
/******/ var __webpack_modules__ = ({
|
||||||
|
|
||||||
/***/ 95291:
|
/***/ 7389:
|
||||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||||
|
|
||||||
|
|
||||||
@@ -41,13 +41,12 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|||||||
exports.saveCache = exports.restoreCache = exports.isFeatureAvailable = exports.ReserveCacheError = exports.ValidationError = void 0;
|
exports.saveCache = exports.restoreCache = exports.isFeatureAvailable = exports.ReserveCacheError = exports.ValidationError = void 0;
|
||||||
const core = __importStar(__nccwpck_require__(59999));
|
const core = __importStar(__nccwpck_require__(59999));
|
||||||
const path = __importStar(__nccwpck_require__(16928));
|
const path = __importStar(__nccwpck_require__(16928));
|
||||||
const utils = __importStar(__nccwpck_require__(37056));
|
const utils = __importStar(__nccwpck_require__(77246));
|
||||||
const cacheHttpClient = __importStar(__nccwpck_require__(83558));
|
const cacheHttpClient = __importStar(__nccwpck_require__(1868));
|
||||||
const cacheTwirpClient = __importStar(__nccwpck_require__(90146));
|
const cacheTwirpClient = __importStar(__nccwpck_require__(19188));
|
||||||
const config_1 = __nccwpck_require__(60421);
|
const config_1 = __nccwpck_require__(6643);
|
||||||
const tar_1 = __nccwpck_require__(35512);
|
const tar_1 = __nccwpck_require__(73866);
|
||||||
const constants_1 = __nccwpck_require__(43538);
|
const constants_1 = __nccwpck_require__(5896);
|
||||||
const http_client_1 = __nccwpck_require__(80787);
|
|
||||||
class ValidationError extends Error {
|
class ValidationError extends Error {
|
||||||
constructor(message) {
|
constructor(message) {
|
||||||
super(message);
|
super(message);
|
||||||
@@ -84,17 +83,7 @@ function checkKey(key) {
|
|||||||
* @returns boolean return true if Actions cache service feature is available, otherwise false
|
* @returns boolean return true if Actions cache service feature is available, otherwise false
|
||||||
*/
|
*/
|
||||||
function isFeatureAvailable() {
|
function isFeatureAvailable() {
|
||||||
const cacheServiceVersion = (0, config_1.getCacheServiceVersion)();
|
return !!process.env['ACTIONS_CACHE_URL'];
|
||||||
// Check availability based on cache service version
|
|
||||||
switch (cacheServiceVersion) {
|
|
||||||
case 'v2':
|
|
||||||
// For v2, we need ACTIONS_RESULTS_URL
|
|
||||||
return !!process.env['ACTIONS_RESULTS_URL'];
|
|
||||||
case 'v1':
|
|
||||||
default:
|
|
||||||
// For v1, we only need ACTIONS_CACHE_URL
|
|
||||||
return !!process.env['ACTIONS_CACHE_URL'];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
exports.isFeatureAvailable = isFeatureAvailable;
|
exports.isFeatureAvailable = isFeatureAvailable;
|
||||||
/**
|
/**
|
||||||
@@ -179,16 +168,8 @@ function restoreCacheV1(paths, primaryKey, restoreKeys, options, enableCrossOsAr
|
|||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// warn on cache restore failure and continue build
|
// Supress all non-validation cache related errors because caching should be optional
|
||||||
// Log server errors (5xx) as errors, all other errors as warnings
|
core.warning(`Failed to restore: ${error.message}`);
|
||||||
if (typedError instanceof http_client_1.HttpClientError &&
|
|
||||||
typeof typedError.statusCode === 'number' &&
|
|
||||||
typedError.statusCode >= 500) {
|
|
||||||
core.error(`Failed to restore: ${error.message}`);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
core.warning(`Failed to restore: ${error.message}`);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
@@ -241,13 +222,7 @@ function restoreCacheV2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
|
|||||||
core.debug(`Cache not found for version ${request.version} of keys: ${keys.join(', ')}`);
|
core.debug(`Cache not found for version ${request.version} of keys: ${keys.join(', ')}`);
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
const isRestoreKeyMatch = request.key !== response.matchedKey;
|
core.info(`Cache hit for: ${request.key}`);
|
||||||
if (isRestoreKeyMatch) {
|
|
||||||
core.info(`Cache hit for restore-key: ${response.matchedKey}`);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
core.info(`Cache hit for: ${response.matchedKey}`);
|
|
||||||
}
|
|
||||||
if (options === null || options === void 0 ? void 0 : options.lookupOnly) {
|
if (options === null || options === void 0 ? void 0 : options.lookupOnly) {
|
||||||
core.info('Lookup only - skipping download');
|
core.info('Lookup only - skipping download');
|
||||||
return response.matchedKey;
|
return response.matchedKey;
|
||||||
@@ -272,15 +247,7 @@ function restoreCacheV2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Supress all non-validation cache related errors because caching should be optional
|
// Supress all non-validation cache related errors because caching should be optional
|
||||||
// Log server errors (5xx) as errors, all other errors as warnings
|
core.warning(`Failed to restore: ${error.message}`);
|
||||||
if (typedError instanceof http_client_1.HttpClientError &&
|
|
||||||
typeof typedError.statusCode === 'number' &&
|
|
||||||
typedError.statusCode >= 500) {
|
|
||||||
core.error(`Failed to restore: ${error.message}`);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
core.warning(`Failed to restore: ${error.message}`);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
@@ -383,15 +350,7 @@ function saveCacheV1(paths, key, options, enableCrossOsArchive = false) {
|
|||||||
core.info(`Failed to save: ${typedError.message}`);
|
core.info(`Failed to save: ${typedError.message}`);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Log server errors (5xx) as errors, all other errors as warnings
|
core.warning(`Failed to save: ${typedError.message}`);
|
||||||
if (typedError instanceof http_client_1.HttpClientError &&
|
|
||||||
typeof typedError.statusCode === 'number' &&
|
|
||||||
typedError.statusCode >= 500) {
|
|
||||||
core.error(`Failed to save: ${typedError.message}`);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
core.warning(`Failed to save: ${typedError.message}`);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
@@ -487,15 +446,7 @@ function saveCacheV2(paths, key, options, enableCrossOsArchive = false) {
|
|||||||
core.info(`Failed to save: ${typedError.message}`);
|
core.info(`Failed to save: ${typedError.message}`);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Log server errors (5xx) as errors, all other errors as warnings
|
core.warning(`Failed to save: ${typedError.message}`);
|
||||||
if (typedError instanceof http_client_1.HttpClientError &&
|
|
||||||
typeof typedError.statusCode === 'number' &&
|
|
||||||
typedError.statusCode >= 500) {
|
|
||||||
core.error(`Failed to save: ${typedError.message}`);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
core.warning(`Failed to save: ${typedError.message}`);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
@@ -514,7 +465,7 @@ function saveCacheV2(paths, key, options, enableCrossOsArchive = false) {
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 78173:
|
/***/ 70823:
|
||||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||||
|
|
||||||
|
|
||||||
@@ -529,7 +480,7 @@ const runtime_2 = __nccwpck_require__(66765);
|
|||||||
const runtime_3 = __nccwpck_require__(66765);
|
const runtime_3 = __nccwpck_require__(66765);
|
||||||
const runtime_4 = __nccwpck_require__(66765);
|
const runtime_4 = __nccwpck_require__(66765);
|
||||||
const runtime_5 = __nccwpck_require__(66765);
|
const runtime_5 = __nccwpck_require__(66765);
|
||||||
const cachemetadata_1 = __nccwpck_require__(69511);
|
const cachemetadata_1 = __nccwpck_require__(3954);
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
// @generated message type with reflection information, may provide speed optimized methods
|
||||||
class CreateCacheEntryRequest$Type extends runtime_5.MessageType {
|
class CreateCacheEntryRequest$Type extends runtime_5.MessageType {
|
||||||
constructor() {
|
constructor() {
|
||||||
@@ -908,13 +859,13 @@ exports.CacheService = new runtime_rpc_1.ServiceType("github.actions.results.api
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 44045:
|
/***/ 13231:
|
||||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||||
|
|
||||||
|
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
exports.CacheServiceClientProtobuf = exports.CacheServiceClientJSON = void 0;
|
exports.CacheServiceClientProtobuf = exports.CacheServiceClientJSON = void 0;
|
||||||
const cache_1 = __nccwpck_require__(78173);
|
const cache_1 = __nccwpck_require__(70823);
|
||||||
class CacheServiceClientJSON {
|
class CacheServiceClientJSON {
|
||||||
constructor(rpc) {
|
constructor(rpc) {
|
||||||
this.rpc = rpc;
|
this.rpc = rpc;
|
||||||
@@ -982,7 +933,7 @@ exports.CacheServiceClientProtobuf = CacheServiceClientProtobuf;
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 69511:
|
/***/ 3954:
|
||||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||||
|
|
||||||
|
|
||||||
@@ -993,7 +944,7 @@ const runtime_2 = __nccwpck_require__(66765);
|
|||||||
const runtime_3 = __nccwpck_require__(66765);
|
const runtime_3 = __nccwpck_require__(66765);
|
||||||
const runtime_4 = __nccwpck_require__(66765);
|
const runtime_4 = __nccwpck_require__(66765);
|
||||||
const runtime_5 = __nccwpck_require__(66765);
|
const runtime_5 = __nccwpck_require__(66765);
|
||||||
const cachescope_1 = __nccwpck_require__(35096);
|
const cachescope_1 = __nccwpck_require__(47182);
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
// @generated message type with reflection information, may provide speed optimized methods
|
||||||
class CacheMetadata$Type extends runtime_5.MessageType {
|
class CacheMetadata$Type extends runtime_5.MessageType {
|
||||||
constructor() {
|
constructor() {
|
||||||
@@ -1052,7 +1003,7 @@ exports.CacheMetadata = new CacheMetadata$Type();
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 35096:
|
/***/ 47182:
|
||||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||||
|
|
||||||
|
|
||||||
@@ -1121,7 +1072,7 @@ exports.CacheScope = new CacheScope$Type();
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 83558:
|
/***/ 1868:
|
||||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||||
|
|
||||||
|
|
||||||
@@ -1164,13 +1115,13 @@ const http_client_1 = __nccwpck_require__(80787);
|
|||||||
const auth_1 = __nccwpck_require__(63673);
|
const auth_1 = __nccwpck_require__(63673);
|
||||||
const fs = __importStar(__nccwpck_require__(79896));
|
const fs = __importStar(__nccwpck_require__(79896));
|
||||||
const url_1 = __nccwpck_require__(87016);
|
const url_1 = __nccwpck_require__(87016);
|
||||||
const utils = __importStar(__nccwpck_require__(37056));
|
const utils = __importStar(__nccwpck_require__(77246));
|
||||||
const uploadUtils_1 = __nccwpck_require__(73129);
|
const uploadUtils_1 = __nccwpck_require__(67471);
|
||||||
const downloadUtils_1 = __nccwpck_require__(30458);
|
const downloadUtils_1 = __nccwpck_require__(42148);
|
||||||
const options_1 = __nccwpck_require__(78815);
|
const options_1 = __nccwpck_require__(17633);
|
||||||
const requestUtils_1 = __nccwpck_require__(93273);
|
const requestUtils_1 = __nccwpck_require__(91151);
|
||||||
const config_1 = __nccwpck_require__(60421);
|
const config_1 = __nccwpck_require__(6643);
|
||||||
const user_agent_1 = __nccwpck_require__(89810);
|
const user_agent_1 = __nccwpck_require__(30444);
|
||||||
function getCacheApiUrl(resource) {
|
function getCacheApiUrl(resource) {
|
||||||
const baseUrl = (0, config_1.getCacheServiceURL)();
|
const baseUrl = (0, config_1.getCacheServiceURL)();
|
||||||
if (!baseUrl) {
|
if (!baseUrl) {
|
||||||
@@ -1383,7 +1334,7 @@ exports.saveCache = saveCache;
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 37056:
|
/***/ 77246:
|
||||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||||
|
|
||||||
|
|
||||||
@@ -1437,7 +1388,7 @@ const fs = __importStar(__nccwpck_require__(79896));
|
|||||||
const path = __importStar(__nccwpck_require__(16928));
|
const path = __importStar(__nccwpck_require__(16928));
|
||||||
const semver = __importStar(__nccwpck_require__(88804));
|
const semver = __importStar(__nccwpck_require__(88804));
|
||||||
const util = __importStar(__nccwpck_require__(39023));
|
const util = __importStar(__nccwpck_require__(39023));
|
||||||
const constants_1 = __nccwpck_require__(43538);
|
const constants_1 = __nccwpck_require__(5896);
|
||||||
const versionSalt = '1.0';
|
const versionSalt = '1.0';
|
||||||
// From https://github.com/actions/toolkit/blob/main/packages/tool-cache/src/tool-cache.ts#L23
|
// From https://github.com/actions/toolkit/blob/main/packages/tool-cache/src/tool-cache.ts#L23
|
||||||
function createTempDirectory() {
|
function createTempDirectory() {
|
||||||
@@ -1605,7 +1556,7 @@ exports.getRuntimeToken = getRuntimeToken;
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 60421:
|
/***/ 6643:
|
||||||
/***/ ((__unused_webpack_module, exports) => {
|
/***/ ((__unused_webpack_module, exports) => {
|
||||||
|
|
||||||
|
|
||||||
@@ -1648,7 +1599,7 @@ exports.getCacheServiceURL = getCacheServiceURL;
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 43538:
|
/***/ 5896:
|
||||||
/***/ ((__unused_webpack_module, exports) => {
|
/***/ ((__unused_webpack_module, exports) => {
|
||||||
|
|
||||||
|
|
||||||
@@ -1691,7 +1642,7 @@ exports.CacheFileSizeLimit = 10 * Math.pow(1024, 3); // 10GiB per repository
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 30458:
|
/***/ 42148:
|
||||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||||
|
|
||||||
|
|
||||||
@@ -1736,9 +1687,9 @@ const buffer = __importStar(__nccwpck_require__(20181));
|
|||||||
const fs = __importStar(__nccwpck_require__(79896));
|
const fs = __importStar(__nccwpck_require__(79896));
|
||||||
const stream = __importStar(__nccwpck_require__(2203));
|
const stream = __importStar(__nccwpck_require__(2203));
|
||||||
const util = __importStar(__nccwpck_require__(39023));
|
const util = __importStar(__nccwpck_require__(39023));
|
||||||
const utils = __importStar(__nccwpck_require__(37056));
|
const utils = __importStar(__nccwpck_require__(77246));
|
||||||
const constants_1 = __nccwpck_require__(43538);
|
const constants_1 = __nccwpck_require__(5896);
|
||||||
const requestUtils_1 = __nccwpck_require__(93273);
|
const requestUtils_1 = __nccwpck_require__(91151);
|
||||||
const abort_controller_1 = __nccwpck_require__(80349);
|
const abort_controller_1 = __nccwpck_require__(80349);
|
||||||
/**
|
/**
|
||||||
* Pipes the body of a HTTP response to a stream
|
* Pipes the body of a HTTP response to a stream
|
||||||
@@ -2075,7 +2026,7 @@ const promiseWithTimeout = (timeoutMs, promise) => __awaiter(void 0, void 0, voi
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 93273:
|
/***/ 91151:
|
||||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||||
|
|
||||||
|
|
||||||
@@ -2115,7 +2066,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|||||||
exports.retryHttpClientResponse = exports.retryTypedResponse = exports.retry = exports.isRetryableStatusCode = exports.isServerErrorStatusCode = exports.isSuccessStatusCode = void 0;
|
exports.retryHttpClientResponse = exports.retryTypedResponse = exports.retry = exports.isRetryableStatusCode = exports.isServerErrorStatusCode = exports.isSuccessStatusCode = void 0;
|
||||||
const core = __importStar(__nccwpck_require__(59999));
|
const core = __importStar(__nccwpck_require__(59999));
|
||||||
const http_client_1 = __nccwpck_require__(80787);
|
const http_client_1 = __nccwpck_require__(80787);
|
||||||
const constants_1 = __nccwpck_require__(43538);
|
const constants_1 = __nccwpck_require__(5896);
|
||||||
function isSuccessStatusCode(statusCode) {
|
function isSuccessStatusCode(statusCode) {
|
||||||
if (!statusCode) {
|
if (!statusCode) {
|
||||||
return false;
|
return false;
|
||||||
@@ -2218,7 +2169,7 @@ exports.retryHttpClientResponse = retryHttpClientResponse;
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 90146:
|
/***/ 19188:
|
||||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||||
|
|
||||||
|
|
||||||
@@ -2234,14 +2185,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
exports.internalCacheTwirpClient = void 0;
|
exports.internalCacheTwirpClient = void 0;
|
||||||
const core_1 = __nccwpck_require__(59999);
|
const core_1 = __nccwpck_require__(59999);
|
||||||
const user_agent_1 = __nccwpck_require__(89810);
|
const user_agent_1 = __nccwpck_require__(30444);
|
||||||
const errors_1 = __nccwpck_require__(59054);
|
const errors_1 = __nccwpck_require__(58676);
|
||||||
const config_1 = __nccwpck_require__(60421);
|
const config_1 = __nccwpck_require__(6643);
|
||||||
const cacheUtils_1 = __nccwpck_require__(37056);
|
const cacheUtils_1 = __nccwpck_require__(77246);
|
||||||
const auth_1 = __nccwpck_require__(63673);
|
const auth_1 = __nccwpck_require__(63673);
|
||||||
const http_client_1 = __nccwpck_require__(80787);
|
const http_client_1 = __nccwpck_require__(80787);
|
||||||
const cache_twirp_client_1 = __nccwpck_require__(44045);
|
const cache_twirp_client_1 = __nccwpck_require__(13231);
|
||||||
const util_1 = __nccwpck_require__(12177);
|
const util_1 = __nccwpck_require__(92163);
|
||||||
/**
|
/**
|
||||||
* This class is a wrapper around the CacheServiceClientJSON class generated by Twirp.
|
* This class is a wrapper around the CacheServiceClientJSON class generated by Twirp.
|
||||||
*
|
*
|
||||||
@@ -2386,7 +2337,7 @@ exports.internalCacheTwirpClient = internalCacheTwirpClient;
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 59054:
|
/***/ 58676:
|
||||||
/***/ ((__unused_webpack_module, exports) => {
|
/***/ ((__unused_webpack_module, exports) => {
|
||||||
|
|
||||||
|
|
||||||
@@ -2462,14 +2413,14 @@ UsageError.isUsageErrorMessage = (msg) => {
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 89810:
|
/***/ 30444:
|
||||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||||
|
|
||||||
|
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
exports.getUserAgentString = void 0;
|
exports.getUserAgentString = void 0;
|
||||||
// eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-require-imports
|
// eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-require-imports
|
||||||
const packageJson = __nccwpck_require__(93965);
|
const packageJson = __nccwpck_require__(9027);
|
||||||
/**
|
/**
|
||||||
* Ensure that this User Agent String is used in all HTTP calls so that we can monitor telemetry between different versions of this package
|
* Ensure that this User Agent String is used in all HTTP calls so that we can monitor telemetry between different versions of this package
|
||||||
*/
|
*/
|
||||||
@@ -2481,7 +2432,7 @@ exports.getUserAgentString = getUserAgentString;
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 12177:
|
/***/ 92163:
|
||||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||||
|
|
||||||
|
|
||||||
@@ -2561,7 +2512,7 @@ exports.maskSecretUrls = maskSecretUrls;
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 35512:
|
/***/ 73866:
|
||||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||||
|
|
||||||
|
|
||||||
@@ -2603,8 +2554,8 @@ const exec_1 = __nccwpck_require__(58872);
|
|||||||
const io = __importStar(__nccwpck_require__(73357));
|
const io = __importStar(__nccwpck_require__(73357));
|
||||||
const fs_1 = __nccwpck_require__(79896);
|
const fs_1 = __nccwpck_require__(79896);
|
||||||
const path = __importStar(__nccwpck_require__(16928));
|
const path = __importStar(__nccwpck_require__(16928));
|
||||||
const utils = __importStar(__nccwpck_require__(37056));
|
const utils = __importStar(__nccwpck_require__(77246));
|
||||||
const constants_1 = __nccwpck_require__(43538);
|
const constants_1 = __nccwpck_require__(5896);
|
||||||
const IS_WINDOWS = process.platform === 'win32';
|
const IS_WINDOWS = process.platform === 'win32';
|
||||||
// Returns tar path and type: BSD or GNU
|
// Returns tar path and type: BSD or GNU
|
||||||
function getTarPath() {
|
function getTarPath() {
|
||||||
@@ -2839,7 +2790,7 @@ exports.createTar = createTar;
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 73129:
|
/***/ 67471:
|
||||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||||
|
|
||||||
|
|
||||||
@@ -2879,7 +2830,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|||||||
exports.uploadCacheArchiveSDK = exports.UploadProgress = void 0;
|
exports.uploadCacheArchiveSDK = exports.UploadProgress = void 0;
|
||||||
const core = __importStar(__nccwpck_require__(59999));
|
const core = __importStar(__nccwpck_require__(59999));
|
||||||
const storage_blob_1 = __nccwpck_require__(34228);
|
const storage_blob_1 = __nccwpck_require__(34228);
|
||||||
const errors_1 = __nccwpck_require__(59054);
|
const errors_1 = __nccwpck_require__(58676);
|
||||||
/**
|
/**
|
||||||
* Class for tracking the upload state and displaying stats.
|
* Class for tracking the upload state and displaying stats.
|
||||||
*/
|
*/
|
||||||
@@ -3012,7 +2963,7 @@ exports.uploadCacheArchiveSDK = uploadCacheArchiveSDK;
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 78815:
|
/***/ 17633:
|
||||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||||
|
|
||||||
|
|
||||||
@@ -86465,10 +86416,10 @@ function randomUUID() {
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 93965:
|
/***/ 9027:
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
module.exports = /*#__PURE__*/JSON.parse('{"name":"@actions/cache","version":"4.0.5","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^1.11.1","@actions/exec":"^1.0.1","@actions/glob":"^0.1.0","@protobuf-ts/runtime-rpc":"^2.11.1","@actions/http-client":"^2.1.1","@actions/io":"^1.0.1","@azure/abort-controller":"^1.1.0","@azure/ms-rest-js":"^2.6.0","@azure/storage-blob":"^12.13.0","semver":"^6.3.1"},"devDependencies":{"@types/node":"^22.13.9","@types/semver":"^6.0.0","@protobuf-ts/plugin":"^2.9.4","typescript":"^5.2.2"}}');
|
module.exports = /*#__PURE__*/JSON.parse('{"name":"@actions/cache","version":"4.0.3","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^1.11.1","@actions/exec":"^1.0.1","@actions/glob":"^0.1.0","@actions/http-client":"^2.1.1","@actions/io":"^1.0.1","@azure/abort-controller":"^1.1.0","@azure/ms-rest-js":"^2.6.0","@azure/storage-blob":"^12.13.0","@protobuf-ts/plugin":"^2.9.4","semver":"^6.3.1"},"devDependencies":{"@types/node":"^22.13.9","@types/semver":"^6.0.0","typescript":"^5.2.2"}}');
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
@@ -87957,7 +87908,7 @@ class PCancelable {
|
|||||||
|
|
||||||
Object.setPrototypeOf(PCancelable.prototype, Promise.prototype);
|
Object.setPrototypeOf(PCancelable.prototype, Promise.prototype);
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/core/errors.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/core/errors.js
|
||||||
|
|
||||||
// A hacky check to prevent circular references.
|
// A hacky check to prevent circular references.
|
||||||
function isRequest(x) {
|
function isRequest(x) {
|
||||||
@@ -89728,13 +89679,13 @@ getContentLength_fn = function() {
|
|||||||
|
|
||||||
// EXTERNAL MODULE: external "node:util"
|
// EXTERNAL MODULE: external "node:util"
|
||||||
var external_node_util_ = __nccwpck_require__(57975);
|
var external_node_util_ = __nccwpck_require__(57975);
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/core/utils/is-form-data.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/core/utils/is-form-data.js
|
||||||
|
|
||||||
function is_form_data_isFormData(body) {
|
function is_form_data_isFormData(body) {
|
||||||
return distribution.nodeStream(body) && distribution.function(body.getBoundary);
|
return distribution.nodeStream(body) && distribution.function(body.getBoundary);
|
||||||
}
|
}
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/core/utils/get-body-size.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/core/utils/get-body-size.js
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -89758,7 +89709,7 @@ async function getBodySize(body, headers) {
|
|||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/core/utils/proxy-events.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/core/utils/proxy-events.js
|
||||||
function proxyEvents(from, to, events) {
|
function proxyEvents(from, to, events) {
|
||||||
const eventFunctions = {};
|
const eventFunctions = {};
|
||||||
for (const event of events) {
|
for (const event of events) {
|
||||||
@@ -89777,7 +89728,7 @@ function proxyEvents(from, to, events) {
|
|||||||
|
|
||||||
;// CONCATENATED MODULE: external "node:net"
|
;// CONCATENATED MODULE: external "node:net"
|
||||||
const external_node_net_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:net");
|
const external_node_net_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:net");
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/core/utils/unhandle.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/core/utils/unhandle.js
|
||||||
// When attaching listeners, it's very easy to forget about them.
|
// When attaching listeners, it's very easy to forget about them.
|
||||||
// Especially if you do error handling and set timeouts.
|
// Especially if you do error handling and set timeouts.
|
||||||
// So instead of checking if it's proper to throw an error on every timeout ever,
|
// So instead of checking if it's proper to throw an error on every timeout ever,
|
||||||
@@ -89799,7 +89750,7 @@ function unhandle() {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/core/timed-out.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/core/timed-out.js
|
||||||
|
|
||||||
|
|
||||||
const reentry = Symbol('reentry');
|
const reentry = Symbol('reentry');
|
||||||
@@ -89938,7 +89889,7 @@ function timedOut(request, delays, options) {
|
|||||||
return cancelTimeouts;
|
return cancelTimeouts;
|
||||||
}
|
}
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/core/utils/url-to-options.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/core/utils/url-to-options.js
|
||||||
|
|
||||||
function urlToOptions(url) {
|
function urlToOptions(url) {
|
||||||
// Cast to URL
|
// Cast to URL
|
||||||
@@ -89962,7 +89913,7 @@ function urlToOptions(url) {
|
|||||||
return options;
|
return options;
|
||||||
}
|
}
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/core/utils/weakable-map.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/core/utils/weakable-map.js
|
||||||
class WeakableMap {
|
class WeakableMap {
|
||||||
weakMap;
|
weakMap;
|
||||||
map;
|
map;
|
||||||
@@ -89992,7 +89943,7 @@ class WeakableMap {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/core/calculate-retry-delay.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/core/calculate-retry-delay.js
|
||||||
const calculateRetryDelay = ({ attemptCount, retryOptions, error, retryAfter, computedValue, }) => {
|
const calculateRetryDelay = ({ attemptCount, retryOptions, error, retryAfter, computedValue, }) => {
|
||||||
if (error.name === 'RetryError') {
|
if (error.name === 'RetryError') {
|
||||||
return 1;
|
return 1;
|
||||||
@@ -90481,7 +90432,7 @@ class CacheableLookup {
|
|||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/index.js
|
// EXTERNAL MODULE: ./node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/index.js
|
||||||
var http2_wrapper_source = __nccwpck_require__(55409);
|
var http2_wrapper_source = __nccwpck_require__(55409);
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/core/parse-link-header.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/core/parse-link-header.js
|
||||||
function parseLinkHeader(link) {
|
function parseLinkHeader(link) {
|
||||||
const parsed = [];
|
const parsed = [];
|
||||||
const items = link.split(',');
|
const items = link.split(',');
|
||||||
@@ -90516,7 +90467,7 @@ function parseLinkHeader(link) {
|
|||||||
return parsed;
|
return parsed;
|
||||||
}
|
}
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/core/options.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/core/options.js
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -90878,10 +90829,7 @@ class Options {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (options instanceof Options) {
|
if (options instanceof Options) {
|
||||||
// Create a copy of the _init array to avoid infinite loop
|
for (const init of options._init) {
|
||||||
// when merging an Options instance with itself
|
|
||||||
const initArray = [...options._init];
|
|
||||||
for (const init of initArray) {
|
|
||||||
this.merge(init);
|
this.merge(init);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
@@ -92156,7 +92104,7 @@ class Options {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/core/response.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/core/response.js
|
||||||
|
|
||||||
const isResponseOk = (response) => {
|
const isResponseOk = (response) => {
|
||||||
const { statusCode } = response;
|
const { statusCode } = response;
|
||||||
@@ -92199,19 +92147,19 @@ const parseBody = (response, responseType, parseJson, encoding) => {
|
|||||||
}, response);
|
}, response);
|
||||||
};
|
};
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/core/utils/is-client-request.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/core/utils/is-client-request.js
|
||||||
function isClientRequest(clientRequest) {
|
function isClientRequest(clientRequest) {
|
||||||
return clientRequest.writable && !clientRequest.writableEnded;
|
return clientRequest.writable && !clientRequest.writableEnded;
|
||||||
}
|
}
|
||||||
/* harmony default export */ const is_client_request = (isClientRequest);
|
/* harmony default export */ const is_client_request = (isClientRequest);
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/core/utils/is-unix-socket-url.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/core/utils/is-unix-socket-url.js
|
||||||
// eslint-disable-next-line @typescript-eslint/naming-convention
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
||||||
function isUnixSocketURL(url) {
|
function isUnixSocketURL(url) {
|
||||||
return url.protocol === 'unix:' || url.hostname === 'unix';
|
return url.protocol === 'unix:' || url.hostname === 'unix';
|
||||||
}
|
}
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/core/index.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/core/index.js
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -93218,7 +93166,7 @@ class Request extends external_node_stream_.Duplex {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/as-promise/types.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/as-promise/types.js
|
||||||
|
|
||||||
/**
|
/**
|
||||||
An error to be thrown when the request is aborted with `.cancel()`.
|
An error to be thrown when the request is aborted with `.cancel()`.
|
||||||
@@ -93237,7 +93185,7 @@ class types_CancelError extends RequestError {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/as-promise/index.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/as-promise/index.js
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -93403,7 +93351,7 @@ function asPromise(firstRequest) {
|
|||||||
return promise;
|
return promise;
|
||||||
}
|
}
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/create.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/create.js
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -93585,7 +93533,7 @@ const create = (defaults) => {
|
|||||||
};
|
};
|
||||||
/* harmony default export */ const source_create = (create);
|
/* harmony default export */ const source_create = (create);
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.8/node_modules/got/dist/source/index.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/got@14.4.7/node_modules/got/dist/source/index.js
|
||||||
|
|
||||||
|
|
||||||
const defaults = {
|
const defaults = {
|
||||||
@@ -93610,13 +93558,13 @@ const got = source_create(defaults);
|
|||||||
|
|
||||||
;// CONCATENATED MODULE: external "dns/promises"
|
;// CONCATENATED MODULE: external "dns/promises"
|
||||||
const external_dns_promises_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("dns/promises");
|
const external_dns_promises_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("dns/promises");
|
||||||
// EXTERNAL MODULE: ./node_modules/.pnpm/@actions+cache@4.0.5/node_modules/@actions/cache/lib/cache.js
|
// EXTERNAL MODULE: ./node_modules/.pnpm/@actions+cache@4.0.3/node_modules/@actions/cache/lib/cache.js
|
||||||
var cache = __nccwpck_require__(95291);
|
var cache = __nccwpck_require__(7389);
|
||||||
// EXTERNAL MODULE: external "child_process"
|
// EXTERNAL MODULE: external "child_process"
|
||||||
var external_child_process_ = __nccwpck_require__(35317);
|
var external_child_process_ = __nccwpck_require__(35317);
|
||||||
// EXTERNAL MODULE: external "path"
|
// EXTERNAL MODULE: external "path"
|
||||||
var external_path_ = __nccwpck_require__(16928);
|
var external_path_ = __nccwpck_require__(16928);
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/detsys-ts@https+++codeload.github.com+DeterminateSystems+detsys-ts+tar.gz+c7303495f43d3_41cd57da148c86939fc69e6db3511415/node_modules/detsys-ts/dist/index.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/detsys-ts@https+++codeload.github.com+DeterminateSystems+detsys-ts+tar.gz+6d3f1c5a5781e_fe13b81e2b02b425763b9fe08075a4b1/node_modules/detsys-ts/dist/index.js
|
||||||
var __defProp = Object.defineProperty;
|
var __defProp = Object.defineProperty;
|
||||||
var __export = (target, all) => {
|
var __export = (target, all) => {
|
||||||
for (var name in all)
|
for (var name in all)
|
||||||
@@ -94512,7 +94460,6 @@ var FACT_OS = "$os";
|
|||||||
var FACT_OS_VERSION = "$os_version";
|
var FACT_OS_VERSION = "$os_version";
|
||||||
var FACT_SOURCE_URL = "source_url";
|
var FACT_SOURCE_URL = "source_url";
|
||||||
var FACT_SOURCE_URL_ETAG = "source_url_etag";
|
var FACT_SOURCE_URL_ETAG = "source_url_etag";
|
||||||
var FACT_NIX_VERSION = "nix_version";
|
|
||||||
var FACT_NIX_LOCATION = "nix_location";
|
var FACT_NIX_LOCATION = "nix_location";
|
||||||
var FACT_NIX_STORE_TRUST = "nix_store_trusted";
|
var FACT_NIX_STORE_TRUST = "nix_store_trusted";
|
||||||
var FACT_NIX_STORE_VERSION = "nix_store_version";
|
var FACT_NIX_STORE_VERSION = "nix_store_version";
|
||||||
@@ -94771,12 +94718,10 @@ var DetSysAction = class {
|
|||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
await this.preflightNixStoreInfo();
|
await this.preflightNixStoreInfo();
|
||||||
await this.preflightNixVersion();
|
|
||||||
this.addFact(FACT_NIX_STORE_TRUST, this.nixStoreTrust);
|
this.addFact(FACT_NIX_STORE_TRUST, this.nixStoreTrust);
|
||||||
}
|
}
|
||||||
if (this.isMain) {
|
if (this.isMain) {
|
||||||
await this.main();
|
await this.main();
|
||||||
await this.preflightNixVersion();
|
|
||||||
} else if (this.isPost) {
|
} else if (this.isPost) {
|
||||||
await this.post();
|
await this.post();
|
||||||
}
|
}
|
||||||
@@ -95240,21 +95185,6 @@ var DetSysAction = class {
|
|||||||
this.addFact(FACT_NIX_STORE_CHECK_ERROR, stringifyError2(e));
|
this.addFact(FACT_NIX_STORE_CHECK_ERROR, stringifyError2(e));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
async preflightNixVersion() {
|
|
||||||
let output = "unknown";
|
|
||||||
try {
|
|
||||||
({ stdout: output } = await exec.getExecOutput(
|
|
||||||
"nix",
|
|
||||||
["--version"],
|
|
||||||
{
|
|
||||||
silent: true
|
|
||||||
}
|
|
||||||
));
|
|
||||||
output = output.trim() || "unknown";
|
|
||||||
} catch {
|
|
||||||
}
|
|
||||||
this.addFact(FACT_NIX_VERSION, output);
|
|
||||||
}
|
|
||||||
async submitEvents() {
|
async submitEvents() {
|
||||||
const diagnosticsUrl = await this.idsHost.getDiagnosticsUrl();
|
const diagnosticsUrl = await this.idsHost.getDiagnosticsUrl();
|
||||||
if (diagnosticsUrl === void 0) {
|
if (diagnosticsUrl === void 0) {
|
||||||
|
10
flake.lock
generated
10
flake.lock
generated
@@ -2,12 +2,12 @@
|
|||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1754498491,
|
"lastModified": 1756542300,
|
||||||
"narHash": "sha256-erbiH2agUTD0Z30xcVSFcDHzkRvkRXOQ3lb887bcVrs=",
|
"narHash": "sha256-tlOn88coG5fzdyqz6R93SQL5Gpq+m/DsWpekNFhqPQk=",
|
||||||
"rev": "c2ae88e026f9525daf89587f3cbee584b92b6134",
|
"rev": "d7600c775f877cd87b4f5a831c28aa94137377aa",
|
||||||
"revCount": 840654,
|
"revCount": 854036,
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.840654%2Brev-c2ae88e026f9525daf89587f3cbee584b92b6134/019885a0-3e57-7dd9-84e4-9d98e043e35c/source.tar.gz"
|
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.854036%2Brev-d7600c775f877cd87b4f5a831c28aa94137377aa/0198fc13-c2a8-7fe8-b34c-7e1f9e975869/source.tar.gz"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
|
@@ -38,10 +38,10 @@
|
|||||||
"eslint-import-resolver-typescript": "^3.10.1",
|
"eslint-import-resolver-typescript": "^3.10.1",
|
||||||
"eslint-plugin-github": "^4.10.2",
|
"eslint-plugin-github": "^4.10.2",
|
||||||
"eslint-plugin-import": "^2.32.0",
|
"eslint-plugin-import": "^2.32.0",
|
||||||
"eslint-plugin-prettier": "^5.5.4",
|
"eslint-plugin-prettier": "^5.5.3",
|
||||||
"prettier": "^3.6.2",
|
"prettier": "^3.6.2",
|
||||||
"tsup": "^8.5.0",
|
"tsup": "^8.5.0",
|
||||||
"typescript": "^5.9.2",
|
"typescript": "^5.8.3",
|
||||||
"vitest": "^3.2.4"
|
"vitest": "^3.2.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
795
pnpm-lock.yaml
generated
795
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user