packages: support vars.VERBOSE to see what's happening
and debug false positives
This commit is contained in:
parent
fa28ae8fbd
commit
0f6708163f
2 changed files with 6 additions and 0 deletions
|
@ -38,4 +38,6 @@ jobs:
|
|||
export DIR=$(mktemp -d)
|
||||
chown forgejo $DIR /srv
|
||||
|
||||
export VERBOSE="${{ vars.VERBOSE || false }}"
|
||||
|
||||
su -c "packages/run.sh $binary $full_version ${{ matrix.info.version }} ${{ matrix.info.tests }}" forgejo
|
||||
|
|
|
@ -68,6 +68,10 @@ function main() {
|
|||
echo "======================== FAIL package-$package ==================="
|
||||
sleep 5 # hack for Forgejo v1.21 to workaround a bug by which the last lines of the output are moved to the next step
|
||||
false
|
||||
else
|
||||
if test "$VERBOSE" = true ; then
|
||||
sed -e 's/^/[RUN] /' < /tmp/run.out
|
||||
fi
|
||||
fi
|
||||
echo "======================== END package-$package ==================="
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue