mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
do not strip delimiters from status check output
This commit is contained in:
parent
a720c42d66
commit
8feed9c9e6
4
.github/workflows/status.yml
vendored
4
.github/workflows/status.yml
vendored
|
@ -35,10 +35,6 @@ jobs:
|
||||||
mkdir -p pr
|
mkdir -p pr
|
||||||
# Run status checks, Remove ANSI colors from the text
|
# 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')
|
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"
|
cat <<< "$output" > "./pr/status-check-output"
|
||||||
echo ${{ github.event.number }} > ./pr/number
|
echo ${{ github.event.number }} > ./pr/number
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user