mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 10:07:21 +02:00
Correctly init workflow metadata for cli exec (#4211)
This commit is contained in:
parent
98d7b1b500
commit
2e29d43b58
@ -132,7 +132,7 @@ func runExec(ctx context.Context, c *cli.Command, file, repoPath string, singleE
|
|||||||
}
|
}
|
||||||
|
|
||||||
func execWithAxis(ctx context.Context, c *cli.Command, file, repoPath string, axis matrix.Axis, singleExec bool) error {
|
func execWithAxis(ctx context.Context, c *cli.Command, file, repoPath string, axis matrix.Axis, singleExec bool) error {
|
||||||
var metadataWorkflow *metadata.Workflow
|
metadataWorkflow := &metadata.Workflow{}
|
||||||
if !singleExec {
|
if !singleExec {
|
||||||
// TODO: proper try to use the engine to generate the same metadata for workflows
|
// TODO: proper try to use the engine to generate the same metadata for workflows
|
||||||
// https://github.com/woodpecker-ci/woodpecker/pull/3967
|
// https://github.com/woodpecker-ci/woodpecker/pull/3967
|
||||||
|
Loading…
Reference in New Issue
Block a user