Skip to content

Commit 2b96862

Browse files
committed
Fix error handling not working
1 parent 4f04d86 commit 2b96862

File tree

1 file changed

+5
-1
lines changed
  • .github/actions/src/playwright-cache

1 file changed

+5
-1
lines changed

.github/actions/src/playwright-cache/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,8 @@ async function main() {
5858
core.info(playwrightDir);
5959
}
6060

61-
await main();
61+
try {
62+
await main();
63+
} catch (error) {
64+
core.setFailed(error as Error);
65+
}

0 commit comments

Comments
 (0)