mirror of
https://github.com/nektos/act.git
synced 2026-04-26 17:35:49 +03:00
[GH-ISSUE #387] Align "if: ${{ always() }}" step behaviour to GH #271
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#271
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @haizaar on GitHub (Oct 8, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/387
Good day,
I'm using act 0.2.15 here.
I have a job that creates per-job objects in the cloud so it needs to clean up them regardless whether it was successful or not.
I solved it by defining the last clean up step as:
Indeed this step is unconditionally executed when it runs in GitHub actions but not by act. I.e. if one of the previous step fails, act will not run my Cleanup step.
Can you please align this behaviour with the GH?