From e3effd0e37bcdae121692ee8312ebce23936cf4a Mon Sep 17 00:00:00 2001 From: Diogo Castro Date: Tue, 25 Oct 2022 20:02:33 +0100 Subject: [PATCH] Use environment files instead of `set-output` Problem: We're getting the following warning in the CI: > 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/ Solution: Stop using `set-output`, start using environment files as demonstrated in the link above. --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index e9401d0..c8c7913 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -49,4 +49,4 @@ if [ "$need_run" == true ]; then set +x fi -echo "::set-output name=xrefcheck-path::$xrefcheck_path" +echo "xrefcheck-path=$xrefcheck_path" >> $GITHUB_OUTPUT