move github.context logging from collect_all to action.js
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user