mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[PR #793] [MERGED] Feature: uses in composite #1611
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#1611
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/793
Author: @ChristopherHX
Created: 8/30/2021
Status: ✅ Merged
Merged: 12/22/2021
Merged by: @mergify[bot]
Base:
master← Head:feature/uses-in-composite📝 Commits (10+)
6d6934bFeature: uses in composite9f8d9ddNegate logic87485bcReduce complexity8ebd0beUpdate step_context.god4c34eaUpdate step_context.go216a146Update step_context.gobd0d659Fix syntax error in test576c2f7Bump4817da7Disable usage of actions/setup-node@v2bee1aa0Bump📊 Changes
19 files changed (+463 additions, -157 deletions)
View changed files
📝
pkg/model/action.go(+12 -1)📝
pkg/model/workflow.go(+25 -3)📝
pkg/runner/expression.go(+7 -18)📝
pkg/runner/run_context.go(+51 -19)📝
pkg/runner/runner.go(+26 -25)📝
pkg/runner/runner_test.go(+3 -0)📝
pkg/runner/step_context.go(+124 -86)➕
pkg/runner/testdata/actions/docker-local-noargs/Dockerfile(+8 -0)➕
pkg/runner/testdata/actions/docker-local-noargs/action.yml(+15 -0)➕
pkg/runner/testdata/actions/docker-local-noargs/entrypoint.sh(+8 -0)📝
pkg/runner/testdata/local-action-dockerfile/push.yml(+9 -0)➕
pkg/runner/testdata/local-action-via-composite-dockerfile/action.yml(+44 -0)➕
pkg/runner/testdata/local-action-via-composite-dockerfile/push.yml(+9 -0)➕
pkg/runner/testdata/uses-composite-with-error/composite_action2/action.yml(+11 -0)➕
pkg/runner/testdata/uses-composite-with-error/push.yml(+12 -0)📝
pkg/runner/testdata/uses-composite/composite_action/action.yml(+9 -3)📝
pkg/runner/testdata/uses-composite/push.yml(+12 -2)➕
pkg/runner/testdata/uses-nested-composite/composite_action2/action.yml(+63 -0)➕
pkg/runner/testdata/uses-nested-composite/push.yml(+15 -0)📄 Description
Remove the old hack for composite run steps, use the real runcontext directly.
You can also enable if's in composite, I plan to enable it in https://github.com/ChristopherHX/github-act-runner by default.If's are now enabled see https://github.com/actions/runner/releases/tag/v2.284.0
Resolves #783
Resolves #926
This change seems to be functional complete.
Multi nested composite needs more Tests, maybe the size will get xl after more tests are added.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.