Azure / setup-kubectl

GitHub Action for installing Kubectl
MIT License
132 stars 49 forks source link

Feature Request: Migrate from `set-output` #105

Open Luctia opened 4 months ago

Luctia commented 4 months ago

Feature request

When running this action, a warning is shown:

The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

They've already moved the deprecation of this feature forward, with seemingly no planned time currently in mind, but I think it's a good idea to at least make it known that they plan to deprecate it. It looks like the source of this issue might be this line in the run.ts file, but I'm no expert.

davidgamero commented 2 months ago

which version of the action are you using?

i see v1.10.0 of @actions/core should update to avoid this, but this action already uses that version, so if you are on the latest release it may be a more complex issue

Luctia commented 1 month ago

Using v2: uses: azure/setup-kubectl@v2.0