fix: ensure all post steps are executed (#1286)
This fixes an issue in the chain of post steps introduced while updating the step-logger for composite actions. It includes a test case so we make sure this does not happen again.
This commit is contained in:
10
pkg/runner/testdata/ensure-post-steps/action-composite/action.yml
vendored
Normal file
10
pkg/runner/testdata/ensure-post-steps/action-composite/action.yml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
name: "action composite"
|
||||
description: "action composite"
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
# second post action should fail if executed (we do check on the exit code)
|
||||
- uses: ./ensure-post-steps/action-post/
|
||||
with:
|
||||
fail: "true"
|
||||
- uses: ./ensure-post-steps/action-post/
|
Reference in New Issue
Block a user