Fix tput stopping the workflow
This commit is contained in:
7
setup.sh
7
setup.sh
@@ -13,10 +13,11 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# Ensure the script doesn't fail on Github workflows
|
# Ensure the script doesn't fail on Github workflows
|
||||||
export TERM=${TERM:-vt100}
|
export TERM=${TERM:-vt100}
|
||||||
|
done_text="$(tput bold)DONE.$(tput sgr0)"
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
# Check that rustup and pip3 are installed
|
# Check that rustup and pip3 are installed
|
||||||
check_command () {
|
check_command () {
|
||||||
@@ -32,8 +33,6 @@ check_command pip3
|
|||||||
# Ensure the submodules are pulled and up-to-date
|
# Ensure the submodules are pulled and up-to-date
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
|
|
||||||
done_text="$(tput bold)DONE.$(tput sgr0)"
|
|
||||||
|
|
||||||
patch_conflict_detected () {
|
patch_conflict_detected () {
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user