Print output from bash shell

My action has the following step:

- name: Validate Backlog Configurations and Work Items
        run: |
          chmod 755 ./

The file looks like the following (basically loops a directory and runs a python script):


for d in ./workitems/*/ ; do -t test --validate-only "$d"

The python script prints some info.

If I run the validation script locally (MacOS), then the python output displays correctly.
However, the action logs aren’t showing the output.

How do I fix this? Thanks!

Fixed it… now looks like:


for d in ./workitems/*/ ; do
    echo ` -t test --validate-only "$d"`

I needed to “echo” the results.