Print what is being executed on CI

This makes it easier to grep for executed commands in CI logs
This commit is contained in:
Jakub Beránek 2023-06-19 08:39:14 +02:00
parent 1dba9721fc
commit 0c147d5345
No known key found for this signature in database
GPG Key ID: 909CD0D26483516B
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
set -e
set -ex
# Only run the stage 1 tests on merges, not on PR CI jobs.
if [[ -z "${PR_CI_JOB}" ]]; then

View File

@ -188,6 +188,7 @@ else
fi
if [ ! -z "$SCRIPT" ]; then
echo "Executing ${SCRIPT}"
sh -x -c "$SCRIPT"
else
do_make() {