Skip to content

Commit

Permalink
fix: Broken build due to try/catch setFailed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunal Nagar committed Sep 6, 2021
1 parent 21d42e9 commit d8855df
Show file tree
Hide file tree
Showing 6 changed files with 549 additions and 3,535 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run all
- name: Release (dry-run)
run: npm run release -- --dry-run
env:
Expand Down
3,860 changes: 465 additions & 3,395 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

80 changes: 10 additions & 70 deletions dist/licenses.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

136 changes: 68 additions & 68 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ async function run(): Promise<void> {
}
}
} catch (err) {
setFailed(err)
if (err instanceof Error) {
setFailed(err)
}
}
}

Expand Down

0 comments on commit d8855df

Please sign in to comment.