karancode / kustomize-github-action

:european_castle: Github action for kustomize
https://github.com/marketplace/actions/kustomize-github-action
MIT License
46 stars 29 forks source link

[Feature] replace the deprecated 'set-output' command #39

Closed hkoketsu closed 1 year ago

hkoketsu commented 1 year ago

Is your feature request related to a problem? Please describe. I found the set-output command is still used in the script here: https://github.com/karancode/kustomize-github-action/blob/master/src/kustomize_build.sh#L59.

The command is deprecated and should be replaced. Otherwise, the workflow will fail after June 1, 2023. cf. https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Describe the solution you'd like Replace the set-output command with an environment variable to be used in a subsequent action. Also, suggest current users to migrate to the replaced version.