mirror of
https://github.com/goreleaser/nfpm
synced 2025-05-01 02:47:56 +02:00
* chore(ci): improve tparse Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com> * chore(ci): improve tparse Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
12 lines
256 B
Bash
Executable File
12 lines
256 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o pipefail && TEST_OPTIONS="-json" task $1 | tee output.json | tparse -follow
|
|
success=$?
|
|
|
|
if [ "$2" = "ubuntu-latest" ]; then
|
|
set -e
|
|
NO_COLOR=1 tparse -format markdown -slow 10 -file output.json > $GITHUB_STEP_SUMMARY
|
|
fi
|
|
|
|
exit $success
|