Enable ANSI escape sequences for CI/CD output
All checks were successful
Cargo build (Arch Linux) / Check Formatting (push) Successful in 52s
Cargo build (Arch Linux) / Build pacwrap (push) Successful in 1m23s

This commit is contained in:
Xavier Moffett 2024-10-06 00:08:46 -04:00
parent 106a5d88d6
commit aedd16d127
Signed by: Sapphirus
GPG key ID: A6C061B2CEA1A7AC
2 changed files with 3 additions and 2 deletions

View file

@ -7,6 +7,7 @@ on:
env:
CARGO_TERM_COLOR: always
PACWRAP_SCHEMA_BUILT: 1
PACWRAP_CI: 1
jobs:
checkfmt:

View file

@ -27,10 +27,10 @@ ACTION_NOUN="Common script"
DIST_BIN="$PWD/dist/bin"
DIST_SRC="$PWD/dist/src"
if [[ -t 2 ]] && [[ ! -z $COLORTERM ]] && [[ $TERM != "dummy" ]]; then
if [[ -t 2 ]] && [[ ! -z $COLORTERM ]] && [[ $TERM != "dummy" ]] || [[ $PACWRAP_CI == 1 ]]; then
BOLD=""
RED=""
GREEN=""
GREEN=""
RESET=""
fi