Skip to content

Commit 17a18c1

Browse files
Udating error message
1 parent 30e5742 commit 17a18c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/validate-manifest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
if test -f $item; then
2121
echo "$item exists"
2222
else
23-
echo "Error: $item does not exist"
23+
echo "::error file=manifest.json,title=Invalid-Manifest::$item does not exist"
2424
exit 1
2525
fi
2626
done
@@ -29,7 +29,7 @@ jobs:
2929
for item in $(jq -c -r '.lists.[].url | select( . != null )' manifest.json); do
3030
urlstatus=$(curl -H 'Cache-Control: no-cache' -o /dev/null --silent --head --write-out "$URL %{http_code}" "$item")
3131
if [ $urlstatus -ne 200 ]; then
32-
echo "$item has HTTP status $urlstatus"
32+
echo "::error file=manifest.json,title=Invalid-Manifest::$item has HTTP status of $urlstatus"
3333
exit 1
3434
fi
3535
done

0 commit comments

Comments
 (0)