Skip to content

wrongly set 'name' in 'spfx project github workflow add' command #5805

@Adam-it

Description

@Adam-it

here it is actually wrong

workflow.name = workflow.name.replace('{{ name }}', options.name ?? solutionName);

as the workflow name property is name: "Deploy Solution {{ name }}"
The idea was that when someone will not set name option then we give a default name for the workflow replacing the {{ name }} with spfx solution name. But when someone would use the name option we should replace the full name not just the {{ name }} tag.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions