[CI] test built

This commit is contained in:
peter-evans 2022-08-18 08:22:01 +00:00 committed by GitHub
parent 2721abb4d0
commit 8e8b13ba41
2 changed files with 3 additions and 1 deletions

3
dist/index.js vendored
View file

@ -141,7 +141,8 @@ function createOrUpdateBranch(git, commitMessage, base, branch, branchRemoteName
}
const commitResult = yield git.commit(popts, true);
// 'nothing to commit' can occur when core.autocrlf is set to true
if (commitResult.exitCode != 0 && !commitResult.stdout.includes(NOTHING_TO_COMMIT)) {
if (commitResult.exitCode != 0 &&
!commitResult.stdout.includes(NOTHING_TO_COMMIT)) {
throw new Error(`Unexpected error: ${commitResult.stderr}`);
}
}

1
report.txt Normal file
View file

@ -0,0 +1 @@
1660810921