mirror of
				https://github.com/actions/upload-artifact.git
				synced 2025-11-03 23:53:43 +00:00 
			
		
		
		
	Bump @actions/glob from 0.1.0 to 0.2.0 (#3)
* Bump @actions/glob from 0.1.0 to 0.2.0 Bumps [@actions/glob](https://github.com/actions/toolkit/tree/HEAD/packages/glob) from 0.1.0 to 0.2.0. - [Release notes](https://github.com/actions/toolkit/releases) - [Changelog](https://github.com/actions/toolkit/blob/main/packages/glob/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/glob) --- updated-dependencies: - dependency-name: "@actions/glob" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump @actions/glob from 0.1.0 to 0.2.0 Bumps [@actions/glob](https://github.com/actions/toolkit/tree/HEAD/packages/glob) from 0.1.0 to 0.2.0. - [Release notes](https://github.com/actions/toolkit/releases) - [Changelog](https://github.com/actions/toolkit/blob/main/packages/glob/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/glob) --- updated-dependencies: - dependency-name: "@actions/glob" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * update license and index.js Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: MOREL Matthieu <matthieu.morel@cnp.fr>
This commit is contained in:
		
							parent
							
								
									428cf755e2
								
							
						
					
					
						commit
						622d3b015b
					
				
							
								
								
									
										2
									
								
								.licenses/npm/@actions/glob.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								.licenses/npm/@actions/glob.dep.yml
									
									
									
										generated
									
									
									
								
							@ -1,6 +1,6 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
name: "@actions/glob"
 | 
					name: "@actions/glob"
 | 
				
			||||||
version: 0.1.0
 | 
					version: 0.2.0
 | 
				
			||||||
type: npm
 | 
					type: npm
 | 
				
			||||||
summary: Actions glob lib
 | 
					summary: Actions glob lib
 | 
				
			||||||
homepage: https://github.com/actions/toolkit/tree/master/packages/glob
 | 
					homepage: https://github.com/actions/toolkit/tree/master/packages/glob
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										345
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										345
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@ -3173,7 +3173,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
 | 
				
			|||||||
    });
 | 
					    });
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
Object.defineProperty(exports, "__esModule", { value: true });
 | 
					Object.defineProperty(exports, "__esModule", { value: true });
 | 
				
			||||||
 | 
					exports.hashFiles = exports.create = void 0;
 | 
				
			||||||
const internal_globber_1 = __webpack_require__(297);
 | 
					const internal_globber_1 = __webpack_require__(297);
 | 
				
			||||||
 | 
					const internal_hash_files_1 = __webpack_require__(730);
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Constructs a globber
 | 
					 * Constructs a globber
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
@ -3186,6 +3188,23 @@ function create(patterns, options) {
 | 
				
			|||||||
    });
 | 
					    });
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
exports.create = create;
 | 
					exports.create = create;
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * Computes the sha256 hash of a glob
 | 
				
			||||||
 | 
					 *
 | 
				
			||||||
 | 
					 * @param patterns  Patterns separated by newlines
 | 
				
			||||||
 | 
					 * @param options   Glob options
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					function hashFiles(patterns, options) {
 | 
				
			||||||
 | 
					    return __awaiter(this, void 0, void 0, function* () {
 | 
				
			||||||
 | 
					        let followSymbolicLinks = true;
 | 
				
			||||||
 | 
					        if (options && typeof options.followSymbolicLinks === 'boolean') {
 | 
				
			||||||
 | 
					            followSymbolicLinks = options.followSymbolicLinks;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        const globber = yield create(patterns, { followSymbolicLinks });
 | 
				
			||||||
 | 
					        return internal_hash_files_1.hashFiles(globber);
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					exports.hashFiles = hashFiles;
 | 
				
			||||||
//# sourceMappingURL=glob.js.map
 | 
					//# sourceMappingURL=glob.js.map
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/***/ }),
 | 
					/***/ }),
 | 
				
			||||||
@ -3195,6 +3214,25 @@ exports.create = create;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
"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) {
 | 
				
			||||||
@ -3224,11 +3262,12 @@ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _ar
 | 
				
			|||||||
    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
 | 
					    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
Object.defineProperty(exports, "__esModule", { value: true });
 | 
					Object.defineProperty(exports, "__esModule", { value: true });
 | 
				
			||||||
const core = __webpack_require__(470);
 | 
					exports.DefaultGlobber = void 0;
 | 
				
			||||||
const fs = __webpack_require__(747);
 | 
					const core = __importStar(__webpack_require__(470));
 | 
				
			||||||
const globOptionsHelper = __webpack_require__(601);
 | 
					const fs = __importStar(__webpack_require__(747));
 | 
				
			||||||
const path = __webpack_require__(622);
 | 
					const globOptionsHelper = __importStar(__webpack_require__(601));
 | 
				
			||||||
const patternHelper = __webpack_require__(597);
 | 
					const path = __importStar(__webpack_require__(622));
 | 
				
			||||||
 | 
					const patternHelper = __importStar(__webpack_require__(597));
 | 
				
			||||||
const internal_match_kind_1 = __webpack_require__(327);
 | 
					const internal_match_kind_1 = __webpack_require__(327);
 | 
				
			||||||
const internal_pattern_1 = __webpack_require__(923);
 | 
					const internal_pattern_1 = __webpack_require__(923);
 | 
				
			||||||
const internal_search_state_1 = __webpack_require__(728);
 | 
					const internal_search_state_1 = __webpack_require__(728);
 | 
				
			||||||
@ -3274,7 +3313,7 @@ class DefaultGlobber {
 | 
				
			|||||||
                if (options.implicitDescendants &&
 | 
					                if (options.implicitDescendants &&
 | 
				
			||||||
                    (pattern.trailingSeparator ||
 | 
					                    (pattern.trailingSeparator ||
 | 
				
			||||||
                        pattern.segments[pattern.segments.length - 1] !== '**')) {
 | 
					                        pattern.segments[pattern.segments.length - 1] !== '**')) {
 | 
				
			||||||
                    patterns.push(new internal_pattern_1.Pattern(pattern.negate, pattern.segments.concat('**')));
 | 
					                    patterns.push(new internal_pattern_1.Pattern(pattern.negate, true, pattern.segments.concat('**')));
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            // Push the search paths
 | 
					            // Push the search paths
 | 
				
			||||||
@ -3317,7 +3356,7 @@ class DefaultGlobber {
 | 
				
			|||||||
                // Directory
 | 
					                // Directory
 | 
				
			||||||
                if (stats.isDirectory()) {
 | 
					                if (stats.isDirectory()) {
 | 
				
			||||||
                    // Matched
 | 
					                    // Matched
 | 
				
			||||||
                    if (match & internal_match_kind_1.MatchKind.Directory) {
 | 
					                    if (match & internal_match_kind_1.MatchKind.Directory && options.matchDirectories) {
 | 
				
			||||||
                        yield yield __await(item.path);
 | 
					                        yield yield __await(item.path);
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    // Descend?
 | 
					                    // Descend?
 | 
				
			||||||
@ -3733,6 +3772,7 @@ if (typeof Object.create === 'function') {
 | 
				
			|||||||
"use strict";
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Object.defineProperty(exports, "__esModule", { value: true });
 | 
					Object.defineProperty(exports, "__esModule", { value: true });
 | 
				
			||||||
 | 
					exports.MatchKind = void 0;
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Indicates whether a pattern matches a path
 | 
					 * Indicates whether a pattern matches a path
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
@ -3919,10 +3959,33 @@ exports.DefaultArtifactClient = DefaultArtifactClient;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
"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 __importDefault = (this && this.__importDefault) || function (mod) {
 | 
				
			||||||
 | 
					    return (mod && mod.__esModule) ? mod : { "default": mod };
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
Object.defineProperty(exports, "__esModule", { value: true });
 | 
					Object.defineProperty(exports, "__esModule", { value: true });
 | 
				
			||||||
const assert = __webpack_require__(357);
 | 
					exports.Path = void 0;
 | 
				
			||||||
const path = __webpack_require__(622);
 | 
					const path = __importStar(__webpack_require__(622));
 | 
				
			||||||
const pathHelper = __webpack_require__(972);
 | 
					const pathHelper = __importStar(__webpack_require__(972));
 | 
				
			||||||
 | 
					const assert_1 = __importDefault(__webpack_require__(357));
 | 
				
			||||||
const IS_WINDOWS = process.platform === 'win32';
 | 
					const IS_WINDOWS = process.platform === 'win32';
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Helper class for parsing paths into segments
 | 
					 * Helper class for parsing paths into segments
 | 
				
			||||||
@ -3936,7 +3999,7 @@ class Path {
 | 
				
			|||||||
        this.segments = [];
 | 
					        this.segments = [];
 | 
				
			||||||
        // String
 | 
					        // String
 | 
				
			||||||
        if (typeof itemPath === 'string') {
 | 
					        if (typeof itemPath === 'string') {
 | 
				
			||||||
            assert(itemPath, `Parameter 'itemPath' must not be empty`);
 | 
					            assert_1.default(itemPath, `Parameter 'itemPath' must not be empty`);
 | 
				
			||||||
            // Normalize slashes and trim unnecessary trailing slash
 | 
					            // Normalize slashes and trim unnecessary trailing slash
 | 
				
			||||||
            itemPath = pathHelper.safeTrimTrailingSeparator(itemPath);
 | 
					            itemPath = pathHelper.safeTrimTrailingSeparator(itemPath);
 | 
				
			||||||
            // Not rooted
 | 
					            // Not rooted
 | 
				
			||||||
@ -3963,24 +4026,24 @@ class Path {
 | 
				
			|||||||
        // Array
 | 
					        // Array
 | 
				
			||||||
        else {
 | 
					        else {
 | 
				
			||||||
            // Must not be empty
 | 
					            // Must not be empty
 | 
				
			||||||
            assert(itemPath.length > 0, `Parameter 'itemPath' must not be an empty array`);
 | 
					            assert_1.default(itemPath.length > 0, `Parameter 'itemPath' must not be an empty array`);
 | 
				
			||||||
            // Each segment
 | 
					            // Each segment
 | 
				
			||||||
            for (let i = 0; i < itemPath.length; i++) {
 | 
					            for (let i = 0; i < itemPath.length; i++) {
 | 
				
			||||||
                let segment = itemPath[i];
 | 
					                let segment = itemPath[i];
 | 
				
			||||||
                // Must not be empty
 | 
					                // Must not be empty
 | 
				
			||||||
                assert(segment, `Parameter 'itemPath' must not contain any empty segments`);
 | 
					                assert_1.default(segment, `Parameter 'itemPath' must not contain any empty segments`);
 | 
				
			||||||
                // Normalize slashes
 | 
					                // Normalize slashes
 | 
				
			||||||
                segment = pathHelper.normalizeSeparators(itemPath[i]);
 | 
					                segment = pathHelper.normalizeSeparators(itemPath[i]);
 | 
				
			||||||
                // Root segment
 | 
					                // Root segment
 | 
				
			||||||
                if (i === 0 && pathHelper.hasRoot(segment)) {
 | 
					                if (i === 0 && pathHelper.hasRoot(segment)) {
 | 
				
			||||||
                    segment = pathHelper.safeTrimTrailingSeparator(segment);
 | 
					                    segment = pathHelper.safeTrimTrailingSeparator(segment);
 | 
				
			||||||
                    assert(segment === pathHelper.dirname(segment), `Parameter 'itemPath' root segment contains information for multiple segments`);
 | 
					                    assert_1.default(segment === pathHelper.dirname(segment), `Parameter 'itemPath' root segment contains information for multiple segments`);
 | 
				
			||||||
                    this.segments.push(segment);
 | 
					                    this.segments.push(segment);
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                // All other segments
 | 
					                // All other segments
 | 
				
			||||||
                else {
 | 
					                else {
 | 
				
			||||||
                    // Must not contain slash
 | 
					                    // Must not contain slash
 | 
				
			||||||
                    assert(!segment.includes(path.sep), `Parameter 'itemPath' contains unexpected path separators`);
 | 
					                    assert_1.default(!segment.includes(path.sep), `Parameter 'itemPath' contains unexpected path separators`);
 | 
				
			||||||
                    this.segments.push(segment);
 | 
					                    this.segments.push(segment);
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
@ -6783,8 +6846,28 @@ exports.getUploadSpecification = getUploadSpecification;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
"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;
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
Object.defineProperty(exports, "__esModule", { value: true });
 | 
					Object.defineProperty(exports, "__esModule", { value: true });
 | 
				
			||||||
const pathHelper = __webpack_require__(972);
 | 
					exports.partialMatch = exports.match = exports.getSearchPaths = void 0;
 | 
				
			||||||
 | 
					const pathHelper = __importStar(__webpack_require__(972));
 | 
				
			||||||
const internal_match_kind_1 = __webpack_require__(327);
 | 
					const internal_match_kind_1 = __webpack_require__(327);
 | 
				
			||||||
const IS_WINDOWS = process.platform === 'win32';
 | 
					const IS_WINDOWS = process.platform === 'win32';
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
@ -6864,8 +6947,28 @@ exports.partialMatch = partialMatch;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
"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;
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
Object.defineProperty(exports, "__esModule", { value: true });
 | 
					Object.defineProperty(exports, "__esModule", { value: true });
 | 
				
			||||||
const core = __webpack_require__(470);
 | 
					exports.getOptions = void 0;
 | 
				
			||||||
 | 
					const core = __importStar(__webpack_require__(470));
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Returns a copy with defaults filled in.
 | 
					 * Returns a copy with defaults filled in.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
@ -6873,6 +6976,7 @@ function getOptions(copy) {
 | 
				
			|||||||
    const result = {
 | 
					    const result = {
 | 
				
			||||||
        followSymbolicLinks: true,
 | 
					        followSymbolicLinks: true,
 | 
				
			||||||
        implicitDescendants: true,
 | 
					        implicitDescendants: true,
 | 
				
			||||||
 | 
					        matchDirectories: true,
 | 
				
			||||||
        omitBrokenSymbolicLinks: true
 | 
					        omitBrokenSymbolicLinks: true
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
    if (copy) {
 | 
					    if (copy) {
 | 
				
			||||||
@ -6884,6 +6988,10 @@ function getOptions(copy) {
 | 
				
			|||||||
            result.implicitDescendants = copy.implicitDescendants;
 | 
					            result.implicitDescendants = copy.implicitDescendants;
 | 
				
			||||||
            core.debug(`implicitDescendants '${result.implicitDescendants}'`);
 | 
					            core.debug(`implicitDescendants '${result.implicitDescendants}'`);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					        if (typeof copy.matchDirectories === 'boolean') {
 | 
				
			||||||
 | 
					            result.matchDirectories = copy.matchDirectories;
 | 
				
			||||||
 | 
					            core.debug(`matchDirectories '${result.matchDirectories}'`);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
        if (typeof copy.omitBrokenSymbolicLinks === 'boolean') {
 | 
					        if (typeof copy.omitBrokenSymbolicLinks === 'boolean') {
 | 
				
			||||||
            result.omitBrokenSymbolicLinks = copy.omitBrokenSymbolicLinks;
 | 
					            result.omitBrokenSymbolicLinks = copy.omitBrokenSymbolicLinks;
 | 
				
			||||||
            core.debug(`omitBrokenSymbolicLinks '${result.omitBrokenSymbolicLinks}'`);
 | 
					            core.debug(`omitBrokenSymbolicLinks '${result.omitBrokenSymbolicLinks}'`);
 | 
				
			||||||
@ -7630,6 +7738,7 @@ var NoFileOptions;
 | 
				
			|||||||
"use strict";
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Object.defineProperty(exports, "__esModule", { value: true });
 | 
					Object.defineProperty(exports, "__esModule", { value: true });
 | 
				
			||||||
 | 
					exports.SearchState = void 0;
 | 
				
			||||||
class SearchState {
 | 
					class SearchState {
 | 
				
			||||||
    constructor(path, level) {
 | 
					    constructor(path, level) {
 | 
				
			||||||
        this.path = path;
 | 
					        this.path = path;
 | 
				
			||||||
@ -7641,6 +7750,107 @@ exports.SearchState = SearchState;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/***/ }),
 | 
					/***/ }),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/***/ 730:
 | 
				
			||||||
 | 
					/***/ (function(__unusedmodule, exports, __webpack_require__) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					"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) {
 | 
				
			||||||
 | 
					    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
 | 
				
			||||||
 | 
					    return new (P || (P = Promise))(function (resolve, reject) {
 | 
				
			||||||
 | 
					        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
 | 
				
			||||||
 | 
					        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
 | 
				
			||||||
 | 
					        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
 | 
				
			||||||
 | 
					        step((generator = generator.apply(thisArg, _arguments || [])).next());
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					var __asyncValues = (this && this.__asyncValues) || function (o) {
 | 
				
			||||||
 | 
					    if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
 | 
				
			||||||
 | 
					    var m = o[Symbol.asyncIterator], i;
 | 
				
			||||||
 | 
					    return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
 | 
				
			||||||
 | 
					    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
 | 
				
			||||||
 | 
					    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", { value: true });
 | 
				
			||||||
 | 
					exports.hashFiles = void 0;
 | 
				
			||||||
 | 
					const crypto = __importStar(__webpack_require__(417));
 | 
				
			||||||
 | 
					const core = __importStar(__webpack_require__(470));
 | 
				
			||||||
 | 
					const fs = __importStar(__webpack_require__(747));
 | 
				
			||||||
 | 
					const stream = __importStar(__webpack_require__(794));
 | 
				
			||||||
 | 
					const util = __importStar(__webpack_require__(669));
 | 
				
			||||||
 | 
					const path = __importStar(__webpack_require__(622));
 | 
				
			||||||
 | 
					function hashFiles(globber) {
 | 
				
			||||||
 | 
					    var e_1, _a;
 | 
				
			||||||
 | 
					    var _b;
 | 
				
			||||||
 | 
					    return __awaiter(this, void 0, void 0, function* () {
 | 
				
			||||||
 | 
					        let hasMatch = false;
 | 
				
			||||||
 | 
					        const githubWorkspace = (_b = process.env['GITHUB_WORKSPACE']) !== null && _b !== void 0 ? _b : process.cwd();
 | 
				
			||||||
 | 
					        const result = crypto.createHash('sha256');
 | 
				
			||||||
 | 
					        let count = 0;
 | 
				
			||||||
 | 
					        try {
 | 
				
			||||||
 | 
					            for (var _c = __asyncValues(globber.globGenerator()), _d; _d = yield _c.next(), !_d.done;) {
 | 
				
			||||||
 | 
					                const file = _d.value;
 | 
				
			||||||
 | 
					                core.debug(file);
 | 
				
			||||||
 | 
					                if (!file.startsWith(`${githubWorkspace}${path.sep}`)) {
 | 
				
			||||||
 | 
					                    core.debug(`Ignore '${file}' since it is not under GITHUB_WORKSPACE.`);
 | 
				
			||||||
 | 
					                    continue;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                if (fs.statSync(file).isDirectory()) {
 | 
				
			||||||
 | 
					                    core.debug(`Skip directory '${file}'.`);
 | 
				
			||||||
 | 
					                    continue;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                const hash = crypto.createHash('sha256');
 | 
				
			||||||
 | 
					                const pipeline = util.promisify(stream.pipeline);
 | 
				
			||||||
 | 
					                yield pipeline(fs.createReadStream(file), hash);
 | 
				
			||||||
 | 
					                result.write(hash.digest());
 | 
				
			||||||
 | 
					                count++;
 | 
				
			||||||
 | 
					                if (!hasMatch) {
 | 
				
			||||||
 | 
					                    hasMatch = true;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        catch (e_1_1) { e_1 = { error: e_1_1 }; }
 | 
				
			||||||
 | 
					        finally {
 | 
				
			||||||
 | 
					            try {
 | 
				
			||||||
 | 
					                if (_d && !_d.done && (_a = _c.return)) yield _a.call(_c);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            finally { if (e_1) throw e_1.error; }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        result.end();
 | 
				
			||||||
 | 
					        if (hasMatch) {
 | 
				
			||||||
 | 
					            core.debug(`Found ${count} files to hash.`);
 | 
				
			||||||
 | 
					            return result.digest('hex');
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        else {
 | 
				
			||||||
 | 
					            core.debug(`No matches found for glob`);
 | 
				
			||||||
 | 
					            return '';
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					exports.hashFiles = hashFiles;
 | 
				
			||||||
 | 
					//# sourceMappingURL=internal-hash-files.js.map
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/***/ }),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/***/ 747:
 | 
					/***/ 747:
 | 
				
			||||||
/***/ (function(module) {
 | 
					/***/ (function(module) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -8590,17 +8800,40 @@ var isArray = Array.isArray || function (xs) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
"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 __importDefault = (this && this.__importDefault) || function (mod) {
 | 
				
			||||||
 | 
					    return (mod && mod.__esModule) ? mod : { "default": mod };
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
Object.defineProperty(exports, "__esModule", { value: true });
 | 
					Object.defineProperty(exports, "__esModule", { value: true });
 | 
				
			||||||
const assert = __webpack_require__(357);
 | 
					exports.Pattern = void 0;
 | 
				
			||||||
const os = __webpack_require__(87);
 | 
					const os = __importStar(__webpack_require__(87));
 | 
				
			||||||
const path = __webpack_require__(622);
 | 
					const path = __importStar(__webpack_require__(622));
 | 
				
			||||||
const pathHelper = __webpack_require__(972);
 | 
					const pathHelper = __importStar(__webpack_require__(972));
 | 
				
			||||||
 | 
					const assert_1 = __importDefault(__webpack_require__(357));
 | 
				
			||||||
const minimatch_1 = __webpack_require__(93);
 | 
					const minimatch_1 = __webpack_require__(93);
 | 
				
			||||||
const internal_match_kind_1 = __webpack_require__(327);
 | 
					const internal_match_kind_1 = __webpack_require__(327);
 | 
				
			||||||
const internal_path_1 = __webpack_require__(383);
 | 
					const internal_path_1 = __webpack_require__(383);
 | 
				
			||||||
const IS_WINDOWS = process.platform === 'win32';
 | 
					const IS_WINDOWS = process.platform === 'win32';
 | 
				
			||||||
class Pattern {
 | 
					class Pattern {
 | 
				
			||||||
    constructor(patternOrNegate, segments) {
 | 
					    constructor(patternOrNegate, isImplicitPattern = false, segments, homedir) {
 | 
				
			||||||
        /**
 | 
					        /**
 | 
				
			||||||
         * Indicates whether matches should be excluded from the result set
 | 
					         * Indicates whether matches should be excluded from the result set
 | 
				
			||||||
         */
 | 
					         */
 | 
				
			||||||
@ -8614,9 +8847,9 @@ class Pattern {
 | 
				
			|||||||
        else {
 | 
					        else {
 | 
				
			||||||
            // Convert to pattern
 | 
					            // Convert to pattern
 | 
				
			||||||
            segments = segments || [];
 | 
					            segments = segments || [];
 | 
				
			||||||
            assert(segments.length, `Parameter 'segments' must not empty`);
 | 
					            assert_1.default(segments.length, `Parameter 'segments' must not empty`);
 | 
				
			||||||
            const root = Pattern.getLiteral(segments[0]);
 | 
					            const root = Pattern.getLiteral(segments[0]);
 | 
				
			||||||
            assert(root && pathHelper.hasAbsoluteRoot(root), `Parameter 'segments' first element must be a root path`);
 | 
					            assert_1.default(root && pathHelper.hasAbsoluteRoot(root), `Parameter 'segments' first element must be a root path`);
 | 
				
			||||||
            pattern = new internal_path_1.Path(segments).toString().trim();
 | 
					            pattern = new internal_path_1.Path(segments).toString().trim();
 | 
				
			||||||
            if (patternOrNegate) {
 | 
					            if (patternOrNegate) {
 | 
				
			||||||
                pattern = `!${pattern}`;
 | 
					                pattern = `!${pattern}`;
 | 
				
			||||||
@ -8628,7 +8861,7 @@ class Pattern {
 | 
				
			|||||||
            pattern = pattern.substr(1).trim();
 | 
					            pattern = pattern.substr(1).trim();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        // Normalize slashes and ensures absolute root
 | 
					        // Normalize slashes and ensures absolute root
 | 
				
			||||||
        pattern = Pattern.fixupPattern(pattern);
 | 
					        pattern = Pattern.fixupPattern(pattern, homedir);
 | 
				
			||||||
        // Segments
 | 
					        // Segments
 | 
				
			||||||
        this.segments = new internal_path_1.Path(pattern).segments;
 | 
					        this.segments = new internal_path_1.Path(pattern).segments;
 | 
				
			||||||
        // Trailing slash indicates the pattern should only match directories, not regular files
 | 
					        // Trailing slash indicates the pattern should only match directories, not regular files
 | 
				
			||||||
@ -8644,6 +8877,7 @@ class Pattern {
 | 
				
			|||||||
        this.searchPath = new internal_path_1.Path(searchSegments).toString();
 | 
					        this.searchPath = new internal_path_1.Path(searchSegments).toString();
 | 
				
			||||||
        // Root RegExp (required when determining partial match)
 | 
					        // Root RegExp (required when determining partial match)
 | 
				
			||||||
        this.rootRegExp = new RegExp(Pattern.regExpEscape(searchSegments[0]), IS_WINDOWS ? 'i' : '');
 | 
					        this.rootRegExp = new RegExp(Pattern.regExpEscape(searchSegments[0]), IS_WINDOWS ? 'i' : '');
 | 
				
			||||||
 | 
					        this.isImplicitPattern = isImplicitPattern;
 | 
				
			||||||
        // Create minimatch
 | 
					        // Create minimatch
 | 
				
			||||||
        const minimatchOptions = {
 | 
					        const minimatchOptions = {
 | 
				
			||||||
            dot: true,
 | 
					            dot: true,
 | 
				
			||||||
@ -8665,11 +8899,11 @@ class Pattern {
 | 
				
			|||||||
            // Normalize slashes
 | 
					            // Normalize slashes
 | 
				
			||||||
            itemPath = pathHelper.normalizeSeparators(itemPath);
 | 
					            itemPath = pathHelper.normalizeSeparators(itemPath);
 | 
				
			||||||
            // Append a trailing slash. Otherwise Minimatch will not match the directory immediately
 | 
					            // Append a trailing slash. Otherwise Minimatch will not match the directory immediately
 | 
				
			||||||
            // preceeding the globstar. For example, given the pattern `/foo/**`, Minimatch returns
 | 
					            // preceding the globstar. For example, given the pattern `/foo/**`, Minimatch returns
 | 
				
			||||||
            // false for `/foo` but returns true for `/foo/`. Append a trailing slash to handle that quirk.
 | 
					            // false for `/foo` but returns true for `/foo/`. Append a trailing slash to handle that quirk.
 | 
				
			||||||
            if (!itemPath.endsWith(path.sep)) {
 | 
					            if (!itemPath.endsWith(path.sep) && this.isImplicitPattern === false) {
 | 
				
			||||||
                // Note, this is safe because the constructor ensures the pattern has an absolute root.
 | 
					                // Note, this is safe because the constructor ensures the pattern has an absolute root.
 | 
				
			||||||
                // For example, formats like C: and C:foo on Windows are resolved to an aboslute root.
 | 
					                // For example, formats like C: and C:foo on Windows are resolved to an absolute root.
 | 
				
			||||||
                itemPath = `${itemPath}${path.sep}`;
 | 
					                itemPath = `${itemPath}${path.sep}`;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
@ -8707,15 +8941,15 @@ class Pattern {
 | 
				
			|||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * Normalizes slashes and ensures absolute root
 | 
					     * Normalizes slashes and ensures absolute root
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    static fixupPattern(pattern) {
 | 
					    static fixupPattern(pattern, homedir) {
 | 
				
			||||||
        // Empty
 | 
					        // Empty
 | 
				
			||||||
        assert(pattern, 'pattern cannot be empty');
 | 
					        assert_1.default(pattern, 'pattern cannot be empty');
 | 
				
			||||||
        // Must not contain `.` segment, unless first segment
 | 
					        // Must not contain `.` segment, unless first segment
 | 
				
			||||||
        // Must not contain `..` segment
 | 
					        // Must not contain `..` segment
 | 
				
			||||||
        const literalSegments = new internal_path_1.Path(pattern).segments.map(x => Pattern.getLiteral(x));
 | 
					        const literalSegments = new internal_path_1.Path(pattern).segments.map(x => Pattern.getLiteral(x));
 | 
				
			||||||
        assert(literalSegments.every((x, i) => (x !== '.' || i === 0) && x !== '..'), `Invalid pattern '${pattern}'. Relative pathing '.' and '..' is not allowed.`);
 | 
					        assert_1.default(literalSegments.every((x, i) => (x !== '.' || i === 0) && x !== '..'), `Invalid pattern '${pattern}'. Relative pathing '.' and '..' is not allowed.`);
 | 
				
			||||||
        // Must not contain globs in root, e.g. Windows UNC path \\foo\b*r
 | 
					        // Must not contain globs in root, e.g. Windows UNC path \\foo\b*r
 | 
				
			||||||
        assert(!pathHelper.hasRoot(pattern) || literalSegments[0], `Invalid pattern '${pattern}'. Root segment must not contain globs.`);
 | 
					        assert_1.default(!pathHelper.hasRoot(pattern) || literalSegments[0], `Invalid pattern '${pattern}'. Root segment must not contain globs.`);
 | 
				
			||||||
        // Normalize slashes
 | 
					        // Normalize slashes
 | 
				
			||||||
        pattern = pathHelper.normalizeSeparators(pattern);
 | 
					        pattern = pathHelper.normalizeSeparators(pattern);
 | 
				
			||||||
        // Replace leading `.` segment
 | 
					        // Replace leading `.` segment
 | 
				
			||||||
@ -8724,9 +8958,9 @@ class Pattern {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
        // Replace leading `~` segment
 | 
					        // Replace leading `~` segment
 | 
				
			||||||
        else if (pattern === '~' || pattern.startsWith(`~${path.sep}`)) {
 | 
					        else if (pattern === '~' || pattern.startsWith(`~${path.sep}`)) {
 | 
				
			||||||
            const homedir = os.homedir();
 | 
					            homedir = homedir || os.homedir();
 | 
				
			||||||
            assert(homedir, 'Unable to determine HOME directory');
 | 
					            assert_1.default(homedir, 'Unable to determine HOME directory');
 | 
				
			||||||
            assert(pathHelper.hasAbsoluteRoot(homedir), `Expected HOME directory to be a rooted path. Actual '${homedir}'`);
 | 
					            assert_1.default(pathHelper.hasAbsoluteRoot(homedir), `Expected HOME directory to be a rooted path. Actual '${homedir}'`);
 | 
				
			||||||
            pattern = Pattern.globEscape(homedir) + pattern.substr(1);
 | 
					            pattern = Pattern.globEscape(homedir) + pattern.substr(1);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        // Replace relative drive root, e.g. pattern is C: or C:foo
 | 
					        // Replace relative drive root, e.g. pattern is C: or C:foo
 | 
				
			||||||
@ -8893,9 +9127,32 @@ exports.checkBypass = checkBypass;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
"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 __importDefault = (this && this.__importDefault) || function (mod) {
 | 
				
			||||||
 | 
					    return (mod && mod.__esModule) ? mod : { "default": mod };
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
Object.defineProperty(exports, "__esModule", { value: true });
 | 
					Object.defineProperty(exports, "__esModule", { value: true });
 | 
				
			||||||
const assert = __webpack_require__(357);
 | 
					exports.safeTrimTrailingSeparator = exports.normalizeSeparators = exports.hasRoot = exports.hasAbsoluteRoot = exports.ensureAbsoluteRoot = exports.dirname = void 0;
 | 
				
			||||||
const path = __webpack_require__(622);
 | 
					const path = __importStar(__webpack_require__(622));
 | 
				
			||||||
 | 
					const assert_1 = __importDefault(__webpack_require__(357));
 | 
				
			||||||
const IS_WINDOWS = process.platform === 'win32';
 | 
					const IS_WINDOWS = process.platform === 'win32';
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Similar to path.dirname except normalizes the path separators and slightly better handling for Windows UNC paths.
 | 
					 * Similar to path.dirname except normalizes the path separators and slightly better handling for Windows UNC paths.
 | 
				
			||||||
@ -8935,8 +9192,8 @@ exports.dirname = dirname;
 | 
				
			|||||||
 * or `C:` are expanded based on the current working directory.
 | 
					 * or `C:` are expanded based on the current working directory.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
function ensureAbsoluteRoot(root, itemPath) {
 | 
					function ensureAbsoluteRoot(root, itemPath) {
 | 
				
			||||||
    assert(root, `ensureAbsoluteRoot parameter 'root' must not be empty`);
 | 
					    assert_1.default(root, `ensureAbsoluteRoot parameter 'root' must not be empty`);
 | 
				
			||||||
    assert(itemPath, `ensureAbsoluteRoot parameter 'itemPath' must not be empty`);
 | 
					    assert_1.default(itemPath, `ensureAbsoluteRoot parameter 'itemPath' must not be empty`);
 | 
				
			||||||
    // Already rooted
 | 
					    // Already rooted
 | 
				
			||||||
    if (hasAbsoluteRoot(itemPath)) {
 | 
					    if (hasAbsoluteRoot(itemPath)) {
 | 
				
			||||||
        return itemPath;
 | 
					        return itemPath;
 | 
				
			||||||
@ -8946,7 +9203,7 @@ function ensureAbsoluteRoot(root, itemPath) {
 | 
				
			|||||||
        // Check for itemPath like C: or C:foo
 | 
					        // Check for itemPath like C: or C:foo
 | 
				
			||||||
        if (itemPath.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)) {
 | 
					        if (itemPath.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)) {
 | 
				
			||||||
            let cwd = process.cwd();
 | 
					            let cwd = process.cwd();
 | 
				
			||||||
            assert(cwd.match(/^[A-Z]:\\/i), `Expected current directory to start with an absolute drive root. Actual '${cwd}'`);
 | 
					            assert_1.default(cwd.match(/^[A-Z]:\\/i), `Expected current directory to start with an absolute drive root. Actual '${cwd}'`);
 | 
				
			||||||
            // Drive letter matches cwd? Expand to cwd
 | 
					            // Drive letter matches cwd? Expand to cwd
 | 
				
			||||||
            if (itemPath[0].toUpperCase() === cwd[0].toUpperCase()) {
 | 
					            if (itemPath[0].toUpperCase() === cwd[0].toUpperCase()) {
 | 
				
			||||||
                // Drive only, e.g. C:
 | 
					                // Drive only, e.g. C:
 | 
				
			||||||
@ -8971,11 +9228,11 @@ function ensureAbsoluteRoot(root, itemPath) {
 | 
				
			|||||||
        // Check for itemPath like \ or \foo
 | 
					        // Check for itemPath like \ or \foo
 | 
				
			||||||
        else if (normalizeSeparators(itemPath).match(/^\\$|^\\[^\\]/)) {
 | 
					        else if (normalizeSeparators(itemPath).match(/^\\$|^\\[^\\]/)) {
 | 
				
			||||||
            const cwd = process.cwd();
 | 
					            const cwd = process.cwd();
 | 
				
			||||||
            assert(cwd.match(/^[A-Z]:\\/i), `Expected current directory to start with an absolute drive root. Actual '${cwd}'`);
 | 
					            assert_1.default(cwd.match(/^[A-Z]:\\/i), `Expected current directory to start with an absolute drive root. Actual '${cwd}'`);
 | 
				
			||||||
            return `${cwd[0]}:\\${itemPath.substr(1)}`;
 | 
					            return `${cwd[0]}:\\${itemPath.substr(1)}`;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    assert(hasAbsoluteRoot(root), `ensureAbsoluteRoot parameter 'root' must have an absolute root`);
 | 
					    assert_1.default(hasAbsoluteRoot(root), `ensureAbsoluteRoot parameter 'root' must have an absolute root`);
 | 
				
			||||||
    // Otherwise ensure root ends with a separator
 | 
					    // Otherwise ensure root ends with a separator
 | 
				
			||||||
    if (root.endsWith('/') || (IS_WINDOWS && root.endsWith('\\'))) {
 | 
					    if (root.endsWith('/') || (IS_WINDOWS && root.endsWith('\\'))) {
 | 
				
			||||||
        // Intentionally empty
 | 
					        // Intentionally empty
 | 
				
			||||||
@ -8992,7 +9249,7 @@ exports.ensureAbsoluteRoot = ensureAbsoluteRoot;
 | 
				
			|||||||
 * `\\hello\share` and `C:\hello` (and using alternate separator).
 | 
					 * `\\hello\share` and `C:\hello` (and using alternate separator).
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
function hasAbsoluteRoot(itemPath) {
 | 
					function hasAbsoluteRoot(itemPath) {
 | 
				
			||||||
    assert(itemPath, `hasAbsoluteRoot parameter 'itemPath' must not be empty`);
 | 
					    assert_1.default(itemPath, `hasAbsoluteRoot parameter 'itemPath' must not be empty`);
 | 
				
			||||||
    // Normalize separators
 | 
					    // Normalize separators
 | 
				
			||||||
    itemPath = normalizeSeparators(itemPath);
 | 
					    itemPath = normalizeSeparators(itemPath);
 | 
				
			||||||
    // Windows
 | 
					    // Windows
 | 
				
			||||||
@ -9009,7 +9266,7 @@ exports.hasAbsoluteRoot = hasAbsoluteRoot;
 | 
				
			|||||||
 * `\`, `\hello`, `\\hello\share`, `C:`, and `C:\hello` (and using alternate separator).
 | 
					 * `\`, `\hello`, `\\hello\share`, `C:`, and `C:\hello` (and using alternate separator).
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
function hasRoot(itemPath) {
 | 
					function hasRoot(itemPath) {
 | 
				
			||||||
    assert(itemPath, `isRooted parameter 'itemPath' must not be empty`);
 | 
					    assert_1.default(itemPath, `isRooted parameter 'itemPath' must not be empty`);
 | 
				
			||||||
    // Normalize separators
 | 
					    // Normalize separators
 | 
				
			||||||
    itemPath = normalizeSeparators(itemPath);
 | 
					    itemPath = normalizeSeparators(itemPath);
 | 
				
			||||||
    // Windows
 | 
					    // Windows
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										8
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										8
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							@ -22,11 +22,11 @@
 | 
				
			|||||||
      "integrity": "sha512-CGx2ilGq5i7zSLgiiGUtBCxhRRxibJYU6Fim0Q1Wg2aQL2LTnF27zbqZOrxfvFQ55eSBW0L8uVStgtKMpa0Qlg=="
 | 
					      "integrity": "sha512-CGx2ilGq5i7zSLgiiGUtBCxhRRxibJYU6Fim0Q1Wg2aQL2LTnF27zbqZOrxfvFQ55eSBW0L8uVStgtKMpa0Qlg=="
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "@actions/glob": {
 | 
					    "@actions/glob": {
 | 
				
			||||||
      "version": "0.1.0",
 | 
					      "version": "0.2.0",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/@actions/glob/-/glob-0.1.0.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/@actions/glob/-/glob-0.2.0.tgz",
 | 
				
			||||||
      "integrity": "sha512-lx8SzyQ2FE9+UUvjqY1f28QbTJv+w8qP7kHHbfQRhphrlcx0Mdmm1tZdGJzfxv1jxREa/sLW4Oy8CbGQKCJySA==",
 | 
					      "integrity": "sha512-mqE2a7I66kxcvsdwxs/filQwZsq25IfktMaviGfDB51v6Q3bvxnV7mFsZnvYtLhqGZbPxwBnH8AD3UYaOWb//w==",
 | 
				
			||||||
      "requires": {
 | 
					      "requires": {
 | 
				
			||||||
        "@actions/core": "^1.2.0",
 | 
					        "@actions/core": "^1.2.6",
 | 
				
			||||||
        "minimatch": "^3.0.4"
 | 
					        "minimatch": "^3.0.4"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
				
			|||||||
@ -31,7 +31,7 @@
 | 
				
			|||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
    "@actions/artifact": "^0.5.2",
 | 
					    "@actions/artifact": "^0.5.2",
 | 
				
			||||||
    "@actions/core": "^1.4.0",
 | 
					    "@actions/core": "^1.4.0",
 | 
				
			||||||
    "@actions/glob": "^0.1.0",
 | 
					    "@actions/glob": "^0.2.0",
 | 
				
			||||||
    "@actions/io": "^1.1.1"
 | 
					    "@actions/io": "^1.1.1"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user