Remove ls check, log formatting

This commit is contained in:
Angela P Wen 2022-08-03 11:24:18 +02:00
parent f51da8688a
commit e16d085a47

View file

@ -51,8 +51,6 @@ jobs:
steps: steps:
- name: Download all artifacts - name: Download all artifacts
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
- name: Display structure of downloaded files
run: ls -R
- name: Check expected artifacts exist - name: Check expected artifacts exist
shell: bash shell: bash
run: | run: |
@ -62,9 +60,9 @@ jobs:
for os in $OPERATING_SYSTEMS; do for os in $OPERATING_SYSTEMS; do
for version in $VERSIONS; do for version in $VERSIONS; do
cd ./my-debug-artifacts-$os-$version cd ./my-debug-artifacts-$os-$version
echo "Checking version $version on $os" echo "Artifacts from version $version on $os:"
for language in $LANGUAGES; do for language in $LANGUAGES; do
echo "Checking $language" echo "- Checking $language"
if [[ ! -f "$language.sarif" ]] ; then if [[ ! -f "$language.sarif" ]] ; then
echo "Missing a SARIF file for $language" echo "Missing a SARIF file for $language"
exit 1 exit 1