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.

command is deprecated and will be disabled soon

See original GitHub issue

Description: A clear and concise description of what the bug is.

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/

Action version: Specify the action version

actions/setup-go@v3

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

1.19.2

Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link. see my actions: https://github.com/babyname/fate/actions/workflows/go.yml

Expected behavior: A description of what you expected to happen. use new Actual behavior: A description of what is actually happening. the env setting need update

PS: setup-go seems that GOROOT is not set. when i use $GOROOT/bin/go will failed

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
e-korolevskiicommented, Oct 19, 2022

Hi @godcong!

Yesterday we released a new version that includes a solution to this issue. Could you confirm that it is now working as expected?

1reaction
reubenmillercommented, Oct 15, 2022

The deprecation warning should be removed once the @actions/core npm package is updated to v1.10.0 or later (see github announcement).

The main branch is already using this version, so it probably not much to do apart from cutting a new release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The `set-output` command is deprecated and will be disabled ...
Warning: The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files.
Read more >
How to Fix the set-output GitHub Actions Deprecation Warning
The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information ...
Read more >
How to Patch the Deprecated set-output in GitHub Workflows ...
GitHub recently deprecated the set-output workflow command on October 11, which had been the way for workflow steps, as well as for container ......
Read more >
How to fix set-output command is deprecated in Github Action
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files.
Read more >
Important changes (deprecations) coming in Power Apps and ...
"Deprecated" means we intend to remove the feature or capability from a future release. The feature or capability will continue to work and...
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