@@ -34713,13 +34713,37 @@ exports.parseK6Output = parseK6Output;
34713
34713
/***/ }),
34714
34714
34715
34715
/***/ 1034:
34716
- /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
34716
+ /***/ (function (__unused_webpack_module, exports, __nccwpck_require__) {
34717
34717
34718
34718
"use strict";
34719
34719
34720
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
34721
+ if (k2 === undefined) k2 = k;
34722
+ var desc = Object.getOwnPropertyDescriptor(m, k);
34723
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
34724
+ desc = { enumerable: true, get: function() { return m[k]; } };
34725
+ }
34726
+ Object.defineProperty(o, k2, desc);
34727
+ }) : (function(o, m, k, k2) {
34728
+ if (k2 === undefined) k2 = k;
34729
+ o[k2] = m[k];
34730
+ }));
34731
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
34732
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
34733
+ }) : function(o, v) {
34734
+ o["default"] = v;
34735
+ });
34736
+ var __importStar = (this && this.__importStar) || function (mod) {
34737
+ if (mod && mod.__esModule) return mod;
34738
+ var result = {};
34739
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
34740
+ __setModuleDefault(result, mod);
34741
+ return result;
34742
+ };
34720
34743
Object.defineProperty(exports, "__esModule", ({ value: true }));
34721
34744
exports.cleanScriptPath = exports.validateTestPaths = void 0;
34722
34745
// Common helper functions used in the action
34746
+ const core = __importStar(__nccwpck_require__(2186));
34723
34747
const child_process_1 = __nccwpck_require__(2081);
34724
34748
async function validateTestPaths(testPaths) {
34725
34749
/**
@@ -34764,7 +34788,7 @@ function cleanScriptPath(scriptPath) {
34764
34788
* @return {string} - Cleaned script path
34765
34789
*
34766
34790
* */
34767
- const baseDir = process.env['GITHUB_WORKSPACE'] || '';
34791
+ const baseDir = core.getInput('github-workspace', { required: false }) || '';
34768
34792
const cleanedScriptPath = scriptPath.replace(baseDir, '');
34769
34793
return scriptPath.trim();
34770
34794
}
0 commit comments