The GitHub Actions contexts that are used in the echo statements are wrapped in single quotes to be able to echo multiline strings with double quotes. For example, output of ${{ steps.get_latest_release.outputs.data }} is a multiline string with double quotes and can be safely echo'd now.
Resolves #130
Behavior
Before the change?
The examples in the README that tried to echo GitHub Actions contexts incorrectly were failing. For example:
Failing test job: https://github.com/9inpachi/git-testing/actions/runs/3896990385/jobs/6654168007 Failing test job workflow file: https://github.com/9inpachi/git-testing/actions/runs/3896990385/workflow
After the change?
The GitHub Actions contexts that are used in the echo statements are wrapped in single quotes to be able to echo multiline strings with double quotes. For example, output of
${{ steps.get_latest_release.outputs.data }}
is a multiline string with double quotes and can be safely echo'd now.Successful test job: https://github.com/9inpachi/git-testing/actions/runs/3897156229/jobs/6654529237 Successful test job workflow file: https://github.com/9inpachi/git-testing/actions/runs/3897156229/workflow