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 15f4bef commit b8b0fdd
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 b8b0fdd

Please sign in to comment.