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

Action Gives Deprecation Warning #50

Closed
syoon2 opened this issue Oct 12, 2022 · 4 comments
Closed

Action Gives Deprecation Warning #50

syoon2 opened this issue Oct 12, 2022 · 4 comments

Comments

@syoon2
Copy link

syoon2 commented Oct 12, 2022

Context

GitHub Actions: Deprecating save-state and set-output commands

Environment

GitHub-hosted runner, ubuntu-20.04 Version 20221002.2

Steps to Reproduce

  1. Use this action in workflow

Expected Result

Action runs without warning.

Actual Result

Action gives deprecation warning.

@junze-smg
Copy link

On the same note, node12 is deprecated by Github Actions too. See here https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

I could make a PR if anyone would review and merge it.

@AJ0351726
Copy link

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/

Could you fix this deprecated ?

@genehynson
Copy link

I'm actually confused why we're getting this deprecation message. The github docs say:

Action authors who are using the toolkit should update the @actions/core package to v1.10.0 or greater to get the updated saveState and setOutput functions.

And getsentry/action-github-app-token is using @actions/core v1.10.0 already: https://github.com/getsentry/action-github-app-token/blob/main/package.json#L48

@syoon2
Copy link
Author

syoon2 commented Jan 29, 2023

Fixed in #53

@syoon2 syoon2 closed this as completed Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants