Skip to content

Commit

Permalink
Use environment files instead of set-output
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dcastro committed Oct 25, 2022
1 parent c0226e0 commit e3effd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e3effd0

Please sign in to comment.