do not strip delimiters from status check output

This commit is contained in:
Ishan Jain 2022-03-04 00:13:36 +05:30
parent a720c42d66
commit 8feed9c9e6

View File

@ -35,10 +35,6 @@ jobs:
mkdir -p pr
# Run status checks, Remove ANSI colors from the text
output=$(npx ts-node ./status-checks/index.ts | sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g')
# Escape newlines so _all_ the output is included in the set-output
output="${output//'%'/'%25'}"
output="${output//$'\n'/'%0A'}"
output="${output//$'\r'/'%0D'}"
cat <<< "$output" > "./pr/status-check-output"
echo ${{ github.event.number }} > ./pr/number
- uses: actions/upload-artifact@v2