Skip to content

Commit 4e33c27

Browse files
authored
bug: do not throw error on non-zero exit code (#293)
We explicitly check for this in our logic.
1 parent dd45811 commit 4e33c27

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/deploy-cloudrun.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export async function run(): Promise<void> {
206206
cmd.push('--format', 'json');
207207

208208
const toolCommand = setupGcloud.getToolCommand();
209-
const options = { silent: true };
209+
const options = { silent: true, ignoreReturnCode: true };
210210
const commandString = `${toolCommand} ${cmd.join(' ')}`;
211211
core.info(`Running: ${commandString}`);
212212

0 commit comments

Comments
 (0)