Skip to content

Commit bd18776

Browse files
authored
Merge pull request #891 from ocaml/post-step-should-not-fail
The post step should not fail if there is an error
2 parents 6b1537a + e7e0930 commit bd18776

File tree

13 files changed

+20
-18
lines changed

13 files changed

+20
-18
lines changed

analysis/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.

dist/index.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/post/index.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lint-doc/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.

lint-fmt/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.

lint-opam/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.

packages/analysis/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ async function run() {
1111
process.exit(0);
1212
} catch (error) {
1313
if (error instanceof Error) {
14-
core.setFailed(error.message);
14+
core.error(error.message);
1515
}
1616
process.exit(1);
1717
}

packages/lint-doc/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ async function run() {
1111
process.exit(0);
1212
} catch (error) {
1313
if (error instanceof Error) {
14-
core.setFailed(error.message);
14+
core.error(error.message);
1515
}
1616
process.exit(1);
1717
}

packages/lint-fmt/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async function run() {
1515
process.exit(0);
1616
} catch (error) {
1717
if (error instanceof Error) {
18-
core.setFailed(error.message);
18+
core.error(error.message);
1919
}
2020
process.exit(1);
2121
}

packages/lint-opam/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ async function run() {
1212
process.exit(0);
1313
} catch (error) {
1414
if (error instanceof Error) {
15-
core.setFailed(error.message);
15+
core.error(error.message);
1616
}
1717
process.exit(1);
1818
}

0 commit comments

Comments
 (0)