question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update `@actions/core` dependency to >=1.10.0 to avoid deprecation warning

See original GitHub issue

In a GitHub action where I use cypress-io/github-action@v4, I’m seeing 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/

I think this would be addressed by upgrading @actions/core in package.json.

There is one usage of the setOutput method in the codebase, here.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:30
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
piotrekkrcommented, Nov 23, 2022

@MikeMcC399 I used piotrekkr/github-action@update-dist-files and I didn’t get any warnings in GitHub from cypress action

1reaction
piotrekkrcommented, Nov 3, 2022

Possible fix in #621

Read more comments on GitHub >

github_iconTop Results From Across the Web

@actions/core - npm
Latest version: 1.10.0, last published: 3 months ago. Start using @actions/core in your project by running `npm i @actions/core`.
Read more >
Dependency Deprecation Warnings | Mend Renovate
Renovate now supports raising issues to warn a repository if it is using any deprecated npm packages. This feature can help prevent you ......
Read more >
Changelog — StackStorm 3.8.0 documentation
Fix a bug in the API and CLI code which would prevent users from being able ... Updated deprecation warning for python 2...
Read more >
About NPM deprecation warnings – Weapon of Choice
If the code of the deprecated package was not used at all (fake dependency), then we could safely ignore the deprecation warning. If...
Read more >
Deprecating save-state and set-output commands
To avoid untrusted logged data to use save-state and set-output ... Action authors who are using the toolkit should update the @actions/core ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found