File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1818 echo "Validating manifest files"
1919 for item in $(jq -c -r '.lists.[].file | select( . != null )' manifest.json); do
2020 if test -f $item; then
21- echo "$item exists"
21+ echo "$item file is listed in the manifest, and exists in the repository "
2222 else
23- echo "::error file=manifest.json,title=Invalid-Manifest::$item does not exist"
23+ echo "::error file=manifest.json,title=Invalid-Manifest::$item file is listed in the manifest, but the file does not exist"
2424 exit 1
2525 fi
2626 done
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 "::error file=manifest.json,title=Invalid-Manifest::$item has HTTP status of $urlstatus"
32+ echo "::error file=manifest.json,title=Invalid-Manifest::$item URL is listed in the manifest, but the received HTTP status of $urlstatus"
3333 exit 1
3434 fi
3535 done
You can’t perform that action at this time.
0 commit comments