Thus, this PR brings the code up to data with the recommendations in the
linked post. In short, paths are exposed to subsequent steps by
appending to the file named in $GITHUB_PATH, while environment
variables are set by appending name=value to the file named in
$GITHUB_ENV.
GitHub has deprecated setting the environment variables and paths via echoing to the stdout:
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
Thus, this PR brings the code up to data with the recommendations in the linked post. In short, paths are exposed to subsequent steps by appending to the file named in
$GITHUB_PATH
, while environment variables are set by appendingname=value
to the file named in$GITHUB_ENV
.