Azure / powershell

GH Action to run Az PowerShell scripts for developers and administrators to develop, deploy, and manage Microsoft Azure applications.
MIT License
60 stars 37 forks source link

Node.js 16 is deprecated please update to version 20 #97

Closed erikverwer closed 5 months ago

erikverwer commented 7 months ago

When using azure/powershell@v1 Github Workflow gives a warning: image

Github Blog

Same issue on azure/login@v1 https://github.com/Azure/login/issues/357

Please update the actions to Node.js version 20

Kaibaer commented 6 months ago

Where is the specific problem, @erikverwer?, other than to migrate to the use of nodejs v20?

~~The blog post points to their documentation: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-javascript-actions~~

They especially mention: ~~

runs:
  using: 'node20'
  [whatever precedes or follows in your actions]

Have edited myself and committed but obviously needs further investigation / testing and approval. https://github.com/Azure/powershell/pull/99

erikverwer commented 6 months ago

No specific problem, I could have done the contribution myself ;-)

Kaibaer commented 6 months ago

Sorry, was my bad. Haven't checked it fully through before. I also referenced @YanaXu on the PR as she was also involved in your mentioned login action.

merill commented 6 months ago

Can this be fixed please thanks?

YanaXu commented 5 months ago

@merill we're planning a major release (v2) for this. Please wait for it.

YanaXu commented 5 months ago

Azure PowerShell Action v2 is released. Please try it.