create pr directory before attempting to create files in it

This commit is contained in:
Ishan Jain 2022-03-04 00:03:31 +05:30
parent 4800889442
commit a720c42d66

View File

@ -32,6 +32,7 @@ jobs:
- name: Run status checks - name: Run status checks
id: status_check id: status_check
run: | run: |
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 # Escape newlines so _all_ the output is included in the set-output