green-coding-solutions / eco-ci-energy-estimation

Eco CI Energy estimation for Github Actions Runner VMs
MIT License
48 stars 10 forks source link

Display results task fails when "display graph" is false #42

Open franciscotbjr opened 9 months ago

franciscotbjr commented 9 months ago

Documentation says that "display-graph: (optional) (default: true)", but if task is display-results, and if both display-graph and display-table are set to false, then it causes the following error:

cat: /tmp/eco-ci/output.txt: No such file or directory
Error: Process completed with exit code 1.

Notes: 1) I'm ruining it on a private runner. 2) I'm usign green-coding-berlin/eco-ci-energy-estimation@v2

dan-mm commented 9 months ago

Thank you for the report! I'll take a look at it

dan-mm commented 9 months ago

Unfortunately I'm not able to reproduce this. Do you have a workflow yaml file you can share that I can take a look at?

dan-mm commented 8 months ago

@franciscotbjr - are you still experiencing this issue?