History update build fixes (#5658)

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
This commit is contained in:
Adam R 2021-02-22 17:10:44 +01:00 committed by GitHub
parent f3bd24a494
commit d7b5c047af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v2
with:
token: ${{ secrets.COMMIT_TOKEN }}
ref: ${{ github.ref }}
#ref: ${{ github.ref }}
- uses: actions/setup-node@v1
with:
node-version: 12

View File

@ -2,7 +2,10 @@ import { processChanges } from "../generic/history";
export async function main(): Promise<void> {
try {
await processChanges();
const ret = await processChanges();
if (ret != 0) {
process.exit(ret);
}
} catch(err) {
console.error(err);
process.exit(1);