12 lines
279 B
JavaScript
12 lines
279 B
JavaScript
import * as github from '@actions/github';
|
|
import {collect_all} from './index';
|
|
import {isTrueString} from './lib';
|
|
|
|
const debug = isTrueString(process.env['ACTIONS_STEP_DEBUG']);
|
|
|
|
if (debug) {
|
|
console.log(JSON.stringify(github.context, null, 2));
|
|
}
|
|
|
|
collect_all(debug, true);
|