Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

set-output command is deprecated warning when running education/autograding action #71

Open
DerekHarter opened this issue Feb 8, 2023 · 0 comments

Comments

@DerekHarter
Copy link

Currently I receive the following warning when running the education/autograding@v1 action in my github classroom:

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/

From the link provided, these workflows may stop working on 1st June 2023 instead of just giving warnings. From the description of Patching your actions and workflows, they indicate that the @actions/core package should be updated to v1.10.0. I am just guessing, as I was looking around to try and fix it myself, but this may be as simple as updating the 'autograding/package.json' file to list the dependency as something like:

  "dependencies": {
    "@actions/core": "^1.10.0",
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant