Skip to content

Commit 73f1087

Browse files
committed
ci: fail CO2 upload step when no trace files found
1 parent 64587e7 commit 73f1087

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/nf-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ jobs:
201201
echo "Uploaded: $file -> ${S3_BASE}/${filename}"
202202
done
203203
else
204-
echo "No CO2 footprint trace files found"
204+
echo "ERROR: No CO2 footprint trace files found"
205+
exit 1
205206
fi
206207
207208
confirm-pass-nf-test:

0 commit comments

Comments
 (0)