fix: post step failure is job failure (#5297)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent
515dd6612c
commit
7c7b383c10
+4
@@ -0,0 +1,4 @@
|
||||
runs:
|
||||
using: node20
|
||||
main: main.js
|
||||
post: post.js
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
console.log('This is a post step failure test');
|
||||
process.exit(1);
|
||||
@@ -0,0 +1,9 @@
|
||||
name: basic
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./post-step-failure-is-job-failure/post-step-failure
|
||||
Reference in New Issue
Block a user