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 set-output command is deprecated #213

Closed
tannerjones4075 opened this issue Oct 30, 2023 · 4 comments
Closed

The set-output command is deprecated #213

tannerjones4075 opened this issue Oct 30, 2023 · 4 comments

Comments

@tannerjones4075
Copy link

Running the lycheeverse/lychee-action@v1.0.8 and get the following output:
image

@tannerjones4075
Copy link
Author

tannerjones4075 commented Oct 30, 2023

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

I would be willing to contribute if I could get some guidance.

@mre
Copy link
Member

mre commented Nov 4, 2023

Yes, that would be amazing.

The example in the link explains the transition really well. https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/#examples

You would need to replace all occurrences of set-output with the new syntax. A search for all occurrences should be enough to find the spots.

@tooomm
Copy link
Contributor

tooomm commented Dec 27, 2023

#167 replaced set-output with $GITHUB_ENV instead $GITHUB_OUTPUT over a year ago.

You are using a very old version (v1.0.8) @tannerjones4075

@mre
Copy link
Member

mre commented Dec 28, 2023

Indeed. Sorry, I overlooked that. In the back of my mind I remembered that we did something along those lines, but I thought that maybe we forgot a spot. 😅 Guess we can close this.

@mre mre closed this as completed Dec 28, 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

3 participants