move github.context logging from collect_all to action.js
This commit is contained in:
1 parent
cd3f3c67f2
commit
4c3315660d
3 files changed
+10
-10
No files matched your search
Vendored
+5
-5
@@ -31260,11 +31260,6 @@ function collect_git(debug = false, output = false) {
|
||||
|
||||
|
||||
function collect_all(debug = false, output = false) {
|
||||
|
||||
if (debug) {
|
||||
console.log(JSON.stringify(github.context, null, 2));
|
||||
}
|
||||
|
||||
return {
|
||||
...collect_ci(debug, output),
|
||||
...collect_git(debug, output)
|
||||
@@ -31276,8 +31271,13 @@ function collect_all(debug = false, output = false) {
|
||||
|
||||
|
||||
|
||||
|
||||
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