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:
4
pkg/runner/testdata/post-step-failure-is-job-failure/post-step-failure/action.yml
vendored
Normal file
4
pkg/runner/testdata/post-step-failure-is-job-failure/post-step-failure/action.yml
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
runs:
|
||||
using: node20
|
||||
main: main.js
|
||||
post: post.js
|
||||
0
pkg/runner/testdata/post-step-failure-is-job-failure/post-step-failure/main.js
vendored
Normal file
0
pkg/runner/testdata/post-step-failure-is-job-failure/post-step-failure/main.js
vendored
Normal file
2
pkg/runner/testdata/post-step-failure-is-job-failure/post-step-failure/post.js
vendored
Normal file
2
pkg/runner/testdata/post-step-failure-is-job-failure/post-step-failure/post.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
console.log('This is a post step failure test');
|
||||
process.exit(1);
|
||||
9
pkg/runner/testdata/post-step-failure-is-job-failure/push.yml
vendored
Normal file
9
pkg/runner/testdata/post-step-failure-is-job-failure/push.yml
vendored
Normal file
@@ -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