Skip to content

Question on Changing Version# #968

Closed
@sameerseekala1

Description

@sameerseekala1

Hi,

This is question on changing the node version without modifying the workflow.

Can we store version# in repo variable and access it in the workflow like below? If not is there a way to pass node version to the workflow dynamically? Because it is tedious to update all the workflows in all branches whenever the version changes.

name: Setup Node
uses: actions/setup-node@${{ vars.NODEVERSION }}

Please suggest.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions