Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Github actions will be deprecating the use of ::set-output and moving to Environment Variables #83

Open
christian-ci opened this issue Oct 24, 2022 · 8 comments
Labels
bug Something isn't working

Comments

@christian-ci
Copy link

When the action runs we get this warning:

Warning: 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/

Other than that that's it. Thanks

@jbutcher5
Copy link
Owner

Alright thank you for letting me know, I will get round to sorting this soon.

@christian-ci
Copy link
Author

No prob. Thanks to you as well!

@jbutcher5
Copy link
Owner

I have tried fixing this following the information on the github blog post but to no success, this should just have gone away by updating @actions/core to 1.10.0 but currently no success (i.e. we shouldn't have this issue to begin with). I am just going to come back to this possibly in a month or two, see if https://github.com/actions/toolkit/issues sorts itself out.

@jbutcher5 jbutcher5 added the bug Something isn't working label Oct 24, 2022
@christian-ci
Copy link
Author

Sure thing. As far as I can tell aws-actions devs did the same with @actions/core. Thanks for checking it out.

@christian-ci
Copy link
Author

I just remembered that FYI: save-state is also deprecating. aws-actions/ecr-login is a reference that has the same issue w/ the save-state. Maybe that helps out.

@kennyheard
Copy link

@jbutcher5 Did you have any luck resolving this issue?

@jbutcher5
Copy link
Owner

@kennyheard honestly I have lost all interest in maintaining this repository. If there was a pr made for it I would happily look over it and merge it but otherwise I am just going to work on other things and not update this repo.

@deejgregor
Copy link

The only use of set-output that I see in this repo is in

command_1.issueCommand('set-output', { name }, value);
-- it looks like this is a generated file and was last updated in 2021. Does it need to be regenerated?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants