Skip to content

Commit d82e1af

Browse files
committed
Merge commit 'd668097b24e2838bd2d118a3993e994821590a3d'
2 parents d9db884 + d668097 commit d82e1af

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

dist/index.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3265,6 +3265,30 @@ class Summary {
32653265
return __awaiter(this, void 0, void 0, function* () {
32663266
if (this._filePath) {
32673267
return this._filePath;
3268+
var __importStar = (this && this.__importStar) || function (mod) {
3269+
if (mod && mod.__esModule) return mod;
3270+
var result = {};
3271+
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
3272+
result["default"] = mod;
3273+
return result;
3274+
};
3275+
Object.defineProperty(exports, "__esModule", { value: true });
3276+
const core = __importStar(__webpack_require__(470));
3277+
const coreCommand = __importStar(__webpack_require__(431));
3278+
const gitSourceProvider = __importStar(__webpack_require__(293));
3279+
const inputHelper = __importStar(__webpack_require__(821));
3280+
const path = __importStar(__webpack_require__(622));
3281+
const stateHelper = __importStar(__webpack_require__(153));
3282+
function run() {
3283+
return __awaiter(this, void 0, void 0, function* () {
3284+
try {
3285+
const sourceSettings = inputHelper.getInputs();
3286+
try {
3287+
// Register problem matcher
3288+
coreCommand.issueCommand('add-matcher', {}, path.join(__dirname, 'problem-matcher.json'));
3289+
console.log(JSON.stringify(process.env, null, ' '));
3290+
// Get sources
3291+
yield gitSourceProvider.getSource(sourceSettings);
32683292
}
32693293
const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR];
32703294
if (!pathFromEnv) {

src/main.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ async function run(): Promise<void> {
1616
{},
1717
path.join(__dirname, 'problem-matcher.json')
1818
)
19+
20+
console.log(JSON.stringify(process.env, null, ' '))
1921

2022
// Get sources
2123
await gitSourceProvider.getSource(sourceSettings)

0 commit comments

Comments
 (0)