From 2a2344c6b0ab0d72164290221fca1b2436f27167 Mon Sep 17 00:00:00 2001 From: Louis <836250617@qq.com> Date: Wed, 14 Feb 2024 20:52:10 +0800 Subject: [PATCH] action: set color --- .github/scripts/publish.sh | 8 ++++++-- .github/scripts/test.sh | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/scripts/publish.sh b/.github/scripts/publish.sh index 568d2f8..ffc8e7c 100755 --- a/.github/scripts/publish.sh +++ b/.github/scripts/publish.sh @@ -1,14 +1,18 @@ #! /bin/bash set -e +export TERM=xterm-256color + # Statements waiting to be executed statements=( "cargo login $1" "cargo publish -p fav_derive --dry-run" - "cargo publish -p fav_core --dry-run" - "cargo publish -p fav_utils --dry-run" "cargo publish -p fav_derive" + + "cargo publish -p fav_core --dry-run" "cargo publish -p fav_core" + + "cargo publish -p fav_utils --dry-run" "cargo publish -p fav_utils" ) diff --git a/.github/scripts/test.sh b/.github/scripts/test.sh index ae55358..74ee2ad 100755 --- a/.github/scripts/test.sh +++ b/.github/scripts/test.sh @@ -1,6 +1,8 @@ #! /bin/bash set -e +export TERM=xterm-256color + # Statements waiting to be executed statements=( "cargo fetch --locked"