Skip to content

Commit

Permalink
Skip deleted files
Browse files Browse the repository at this point in the history
  • Loading branch information
kjcjohnson authored Jan 4, 2024
1 parent b739f21 commit 1a2658b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/parse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
failed=0
readarray -t changed_files <<<"$(jq -r '.[]' <<<'${{ steps.changed_files.outputs.all }}')"
for changed_file in ${changed_files[@]}; do
if [ ! -f "${changed_file}" ]; then
echo "File doesn't exist - must have been deleted: ${changed_file}"
continue
fi
case "${changed_file}" in
*.sem|*.sy|*.sl)
echo "Checking benchmark: ${changed_file}"
Expand Down

0 comments on commit 1a2658b

Please sign in to comment.