fix(app/metrics): output of missing dependencies (#1077)
This commit is contained in:
@@ -4,7 +4,7 @@ echo "GitHub action: $METRICS_ACTION ($METRICS_ACTION_PATH)"
|
|||||||
cd $METRICS_ACTION_PATH
|
cd $METRICS_ACTION_PATH
|
||||||
for DEPENDENCY in docker jq; do
|
for DEPENDENCY in docker jq; do
|
||||||
if ! which $DEPENDENCY > /dev/null 2>&1; then
|
if ! which $DEPENDENCY > /dev/null 2>&1; then
|
||||||
echo '::error::"$DEPENDENCY" is not installed on current runner but is needed to run metrics'
|
echo "::error::\"$DEPENDENCY\" is not installed on current runner but is needed to run metrics"
|
||||||
MISSING_DEPENDENCIES=1
|
MISSING_DEPENDENCIES=1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user