You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# An invalid token/project returns a small HTML error page, not the
67
+
# multi-hundred-MB tarball. Fail loudly with a clear hint if so.
68
+
if [ "$(stat -c '%s' cov-analysis.tar.gz)" -lt 1000000 ]; then
69
+
echo "::error::Coverity build tool download failed. Verify the COVERITY_SCAN_TOKEN secret and that the registered project name matches '${COVERITY_PROJECT}'."
70
+
head -c 512 cov-analysis.tar.gz || true
71
+
exit 1
72
+
fi
66
73
mkdir -p cov-analysis
67
74
tar -xzf cov-analysis.tar.gz --strip 1 -C cov-analysis
0 commit comments