File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,10 @@ import { parseDeployResponse, parseDescribeResponse } from './output-parser';
60
60
// eslint-disable-next-line @typescript-eslint/no-var-requires
61
61
const { version : appVersion } = require ( '../package.json' ) ;
62
62
63
+ // isDebug returns true if runner debugging or step debugging is enabled.
64
+ const isDebug =
65
+ parseBoolean ( process . env . ACTIONS_RUNNER_DEBUG ) || parseBoolean ( process . env . ACTIONS_STEP_DEBUG ) ;
66
+
63
67
// originalAppYamlContents and originalAppYamlPath is a reference to the
64
68
// original app.yaml contents and path.
65
69
let originalAppYamlContents : string , originalAppYamlPath : string ;
@@ -198,7 +202,7 @@ export async function run(): Promise<void> {
198
202
logWarning ( 'No authentication found, authenticate with `google-github-actions/auth`.' ) ;
199
203
}
200
204
201
- const options = { silent : true , ignoreReturnCode : true } ;
205
+ const options = { silent : ! isDebug , ignoreReturnCode : true } ;
202
206
const deployCommandString = `${ toolCommand } ${ appDeployCmd . join ( ' ' ) } ` ;
203
207
logInfo ( `Running: ${ deployCommandString } ` ) ;
204
208
You can’t perform that action at this time.
0 commit comments