Skip to content

Commit

Permalink
Fixed output of logging
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericsimard authored Aug 9, 2024
1 parent 18717d4 commit aee8b8e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/add_new_or_updated_feeds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,23 +97,19 @@ jobs:
pip install gtfs_kit --quiet
pip install unidecode --quiet
set -x # this should force GitHub to output every echo commands
echo "BEGIN"
sections=$(echo '${{ steps.process-csv.outputs.PYTHON_SCRIPT_ARGS }}' | sed 's/""/"/g' | sed "s/’/'/g" | awk -F'§' '{for (i=1; i<=NF; i++) print $i}')
set -x # this should force GitHub to output every echo commands
for section in "${sections[@]}"; do
echo "processing line: ${section}"
echo -e "\n"
output=$(eval "python -c 'from tools.operations import *; ${section}'")
echo -e "\n"
echo "$output"
echo -e "\n"
done
set +x
echo "DONE"
echo -e "\n"
git status
echo -e "\n"
- name: Commit, push, and create PR
id: commit-push-create-pr
Expand Down

0 comments on commit aee8b8e

Please sign in to comment.