mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-31 20:58:43 +00:00
Correctly init workflow metadata for cli exec (#4211)
This commit is contained in:
parent
98d7b1b500
commit
2e29d43b58
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
var metadataWorkflow *metadata.Workflow
|
||||
metadataWorkflow := &metadata.Workflow{}
|
||||
if !singleExec {
|
||||
// TODO: proper try to use the engine to generate the same metadata for workflows
|
||||
// https://github.com/woodpecker-ci/woodpecker/pull/3967
|
||||
|
|
Loading…
Reference in a new issue