Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The save-state command is deprecated and will be disabled soon #421

Closed
techouse opened this issue Oct 15, 2022 · 3 comments · Fixed by #422 or lejard-h/chopper#380
Closed

The save-state command is deprecated and will be disabled soon #421

techouse opened this issue Oct 15, 2022 · 3 comments · Fixed by #422 or lejard-h/chopper#380
Assignees

Comments

@techouse
Copy link

techouse commented Oct 15, 2022

Hi,

I just got this message from one of my workflows using mono_repo complaining about the save-state command being deprecated

The save-state 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/

@JEuler
Copy link

JEuler commented Oct 15, 2022

👍

@kevmoo
Copy link
Collaborator

kevmoo commented Oct 15, 2022

I don't think mon_repo uses save-state anywhere. Sure this is not in your configuration?

@kevmoo kevmoo closed this as completed Oct 15, 2022
@techouse
Copy link
Author

techouse commented Oct 16, 2022

I think the problem lies in the pinned version of actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b which mono_repo v6.4.1 uses in the generated Github action Dart CI YAML file.

That points to actions/checkout@v3.0.2, however, it looks like the fix for saveState and getState came in version actions/checkout@v3.1.0

Here's a related issue in actions/checkout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants