mirror of
				https://github.com/docker/setup-buildx-action.git
				synced 2025-11-04 22:54:19 +08:00 
			
		
		
		
	Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									49b8353604
								
							
						
					
					
						commit
						f080c7125b
					
				
							
								
								
									
										91
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										91
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							@ -1406,6 +1406,25 @@ module.exports = minVersion
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
"use strict";
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
 | 
				
			||||||
 | 
					    if (k2 === undefined) k2 = k;
 | 
				
			||||||
 | 
					    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
 | 
				
			||||||
 | 
					}) : (function(o, m, k, k2) {
 | 
				
			||||||
 | 
					    if (k2 === undefined) k2 = k;
 | 
				
			||||||
 | 
					    o[k2] = m[k];
 | 
				
			||||||
 | 
					}));
 | 
				
			||||||
 | 
					var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
 | 
				
			||||||
 | 
					    Object.defineProperty(o, "default", { enumerable: true, value: v });
 | 
				
			||||||
 | 
					}) : function(o, v) {
 | 
				
			||||||
 | 
					    o["default"] = v;
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					var __importStar = (this && this.__importStar) || function (mod) {
 | 
				
			||||||
 | 
					    if (mod && mod.__esModule) return mod;
 | 
				
			||||||
 | 
					    var result = {};
 | 
				
			||||||
 | 
					    if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
 | 
				
			||||||
 | 
					    __setModuleDefault(result, mod);
 | 
				
			||||||
 | 
					    return result;
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
 | 
					var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
 | 
				
			||||||
    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
 | 
					    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
 | 
				
			||||||
    return new (P || (P = Promise))(function (resolve, reject) {
 | 
					    return new (P || (P = Promise))(function (resolve, reject) {
 | 
				
			||||||
@ -1415,14 +1434,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
 | 
				
			|||||||
        step((generator = generator.apply(thisArg, _arguments || [])).next());
 | 
					        step((generator = generator.apply(thisArg, _arguments || [])).next());
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
var __importStar = (this && this.__importStar) || function (mod) {
 | 
					 | 
				
			||||||
    if (mod && mod.__esModule) return mod;
 | 
					 | 
				
			||||||
    var result = {};
 | 
					 | 
				
			||||||
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
 | 
					 | 
				
			||||||
    result["default"] = mod;
 | 
					 | 
				
			||||||
    return result;
 | 
					 | 
				
			||||||
};
 | 
					 | 
				
			||||||
Object.defineProperty(exports, "__esModule", { value: true });
 | 
					Object.defineProperty(exports, "__esModule", { value: true });
 | 
				
			||||||
 | 
					exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;
 | 
				
			||||||
const command_1 = __webpack_require__(351);
 | 
					const command_1 = __webpack_require__(351);
 | 
				
			||||||
const file_command_1 = __webpack_require__(717);
 | 
					const file_command_1 = __webpack_require__(717);
 | 
				
			||||||
const utils_1 = __webpack_require__(278);
 | 
					const utils_1 = __webpack_require__(278);
 | 
				
			||||||
@ -1489,7 +1502,9 @@ function addPath(inputPath) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
exports.addPath = addPath;
 | 
					exports.addPath = addPath;
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Gets the value of an input.  The value is also trimmed.
 | 
					 * Gets the value of an input.
 | 
				
			||||||
 | 
					 * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.
 | 
				
			||||||
 | 
					 * Returns an empty string if the value is not defined.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * @param     name     name of the input to get
 | 
					 * @param     name     name of the input to get
 | 
				
			||||||
 * @param     options  optional. See InputOptions.
 | 
					 * @param     options  optional. See InputOptions.
 | 
				
			||||||
@ -1500,9 +1515,34 @@ function getInput(name, options) {
 | 
				
			|||||||
    if (options && options.required && !val) {
 | 
					    if (options && options.required && !val) {
 | 
				
			||||||
        throw new Error(`Input required and not supplied: ${name}`);
 | 
					        throw new Error(`Input required and not supplied: ${name}`);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    if (options && options.trimWhitespace === false) {
 | 
				
			||||||
 | 
					        return val;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
    return val.trim();
 | 
					    return val.trim();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
exports.getInput = getInput;
 | 
					exports.getInput = getInput;
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification.
 | 
				
			||||||
 | 
					 * Support boolean input list: `true | True | TRUE | false | False | FALSE` .
 | 
				
			||||||
 | 
					 * The return value is also in boolean type.
 | 
				
			||||||
 | 
					 * ref: https://yaml.org/spec/1.2/spec.html#id2804923
 | 
				
			||||||
 | 
					 *
 | 
				
			||||||
 | 
					 * @param     name     name of the input to get
 | 
				
			||||||
 | 
					 * @param     options  optional. See InputOptions.
 | 
				
			||||||
 | 
					 * @returns   boolean
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					function getBooleanInput(name, options) {
 | 
				
			||||||
 | 
					    const trueValue = ['true', 'True', 'TRUE'];
 | 
				
			||||||
 | 
					    const falseValue = ['false', 'False', 'FALSE'];
 | 
				
			||||||
 | 
					    const val = getInput(name, options);
 | 
				
			||||||
 | 
					    if (trueValue.includes(val))
 | 
				
			||||||
 | 
					        return true;
 | 
				
			||||||
 | 
					    if (falseValue.includes(val))
 | 
				
			||||||
 | 
					        return false;
 | 
				
			||||||
 | 
					    throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${name}\n` +
 | 
				
			||||||
 | 
					        `Support boolean input list: \`true | True | TRUE | false | False | FALSE\``);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					exports.getBooleanInput = getBooleanInput;
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Sets the value of an output.
 | 
					 * Sets the value of an output.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
@ -1989,6 +2029,7 @@ exports.default = _default;
 | 
				
			|||||||
// We use any as a valid input type
 | 
					// We use any as a valid input type
 | 
				
			||||||
/* eslint-disable @typescript-eslint/no-explicit-any */
 | 
					/* eslint-disable @typescript-eslint/no-explicit-any */
 | 
				
			||||||
Object.defineProperty(exports, "__esModule", { value: true });
 | 
					Object.defineProperty(exports, "__esModule", { value: true });
 | 
				
			||||||
 | 
					exports.toCommandValue = void 0;
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Sanitizes an input into a string so it can be passed into issueCommand safely
 | 
					 * Sanitizes an input into a string so it can be passed into issueCommand safely
 | 
				
			||||||
 * @param input input to sanitize into a string
 | 
					 * @param input input to sanitize into a string
 | 
				
			||||||
@ -2416,14 +2457,27 @@ exports.default = _default;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
"use strict";
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
 | 
				
			||||||
 | 
					    if (k2 === undefined) k2 = k;
 | 
				
			||||||
 | 
					    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
 | 
				
			||||||
 | 
					}) : (function(o, m, k, k2) {
 | 
				
			||||||
 | 
					    if (k2 === undefined) k2 = k;
 | 
				
			||||||
 | 
					    o[k2] = m[k];
 | 
				
			||||||
 | 
					}));
 | 
				
			||||||
 | 
					var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
 | 
				
			||||||
 | 
					    Object.defineProperty(o, "default", { enumerable: true, value: v });
 | 
				
			||||||
 | 
					}) : function(o, v) {
 | 
				
			||||||
 | 
					    o["default"] = v;
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
var __importStar = (this && this.__importStar) || function (mod) {
 | 
					var __importStar = (this && this.__importStar) || function (mod) {
 | 
				
			||||||
    if (mod && mod.__esModule) return mod;
 | 
					    if (mod && mod.__esModule) return mod;
 | 
				
			||||||
    var result = {};
 | 
					    var result = {};
 | 
				
			||||||
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
 | 
					    if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
 | 
				
			||||||
    result["default"] = mod;
 | 
					    __setModuleDefault(result, mod);
 | 
				
			||||||
    return result;
 | 
					    return result;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
Object.defineProperty(exports, "__esModule", { value: true });
 | 
					Object.defineProperty(exports, "__esModule", { value: true });
 | 
				
			||||||
 | 
					exports.issue = exports.issueCommand = void 0;
 | 
				
			||||||
const os = __importStar(__webpack_require__(87));
 | 
					const os = __importStar(__webpack_require__(87));
 | 
				
			||||||
const utils_1 = __webpack_require__(278);
 | 
					const utils_1 = __webpack_require__(278);
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
@ -6172,14 +6226,27 @@ module.exports = toComparators
 | 
				
			|||||||
"use strict";
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// For internal use, subject to change.
 | 
					// For internal use, subject to change.
 | 
				
			||||||
 | 
					var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
 | 
				
			||||||
 | 
					    if (k2 === undefined) k2 = k;
 | 
				
			||||||
 | 
					    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
 | 
				
			||||||
 | 
					}) : (function(o, m, k, k2) {
 | 
				
			||||||
 | 
					    if (k2 === undefined) k2 = k;
 | 
				
			||||||
 | 
					    o[k2] = m[k];
 | 
				
			||||||
 | 
					}));
 | 
				
			||||||
 | 
					var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
 | 
				
			||||||
 | 
					    Object.defineProperty(o, "default", { enumerable: true, value: v });
 | 
				
			||||||
 | 
					}) : function(o, v) {
 | 
				
			||||||
 | 
					    o["default"] = v;
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
var __importStar = (this && this.__importStar) || function (mod) {
 | 
					var __importStar = (this && this.__importStar) || function (mod) {
 | 
				
			||||||
    if (mod && mod.__esModule) return mod;
 | 
					    if (mod && mod.__esModule) return mod;
 | 
				
			||||||
    var result = {};
 | 
					    var result = {};
 | 
				
			||||||
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
 | 
					    if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
 | 
				
			||||||
    result["default"] = mod;
 | 
					    __setModuleDefault(result, mod);
 | 
				
			||||||
    return result;
 | 
					    return result;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
Object.defineProperty(exports, "__esModule", { value: true });
 | 
					Object.defineProperty(exports, "__esModule", { value: true });
 | 
				
			||||||
 | 
					exports.issueCommand = void 0;
 | 
				
			||||||
// We use any as a valid input type
 | 
					// We use any as a valid input type
 | 
				
			||||||
/* eslint-disable @typescript-eslint/no-explicit-any */
 | 
					/* eslint-disable @typescript-eslint/no-explicit-any */
 | 
				
			||||||
const fs = __importStar(__webpack_require__(747));
 | 
					const fs = __importStar(__webpack_require__(747));
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user