mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[PR #1010] [CLOSED] feat: implement post steps #1724
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#1724
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?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/1010
Author: @KnisterPeter
Created: 2/22/2022
Status: ❌ Closed
Base:
simplify-action-interfaces← Head:implement-pre-and-post-steps📝 Commits (2)
b76f492feat: add post step to actions and add state command8b85444feat: collect pre and post steps for composite actions📊 Changes
16 files changed (+848 additions, -98 deletions)
View changed files
📝
pkg/model/action.go(+12 -0)📝
pkg/model/step_result.go(+1 -0)📝
pkg/runner/action.go(+94 -1)➕
pkg/runner/action_composite.go(+9 -0)📝
pkg/runner/action_test.go(+52 -8)📝
pkg/runner/command.go(+15 -0)📝
pkg/runner/command_test.go(+18 -0)📝
pkg/runner/run_context.go(+17 -6)📝
pkg/runner/step.go(+42 -7)📝
pkg/runner/step_action_local.go(+12 -4)📝
pkg/runner/step_action_local_test.go(+196 -3)📝
pkg/runner/step_action_remote.go(+14 -4)📝
pkg/runner/step_action_remote_test.go(+347 -54)📝
pkg/runner/step_docker.go(+5 -1)📝
pkg/runner/step_run.go(+5 -1)📝
pkg/runner/step_test.go(+9 -9)📄 Description
This change implements action post step in combination with the save-state command.
It does support the
post-ifcondition.There are a few preparations for action pre steps, but it's not fully implemented in this PR.
Closes #626
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.