ReportGenerator-GitHub-Action icon indicating copy to clipboard operation
ReportGenerator-GitHub-Action copied to clipboard

Create working-directory option

Open lucasoares opened this issue 9 months ago • 3 comments

The action should have a working-directory option to allow to specify report paths relative to another directory.

lucasoares avatar Feb 10 '25 18:02 lucasoares

Yes please!

alyssa-dahlberg avatar Mar 11 '25 20:03 alyssa-dahlberg

I made the necessary change in 325ae3c. Will create a new release in the next days.

danielpalme avatar Mar 16 '25 21:03 danielpalme

I just published a new release. New option workdir is now available. Would be great if you can test the new option and let me know if it is working for you.

danielpalme avatar Mar 23 '25 18:03 danielpalme

Hello @danielpalme,

I tested change and workingdir is ignored for reports (which might be issue for "monorepos"/ polyrepos/ repos containing many build contexts).

I think it might be confusing, because in Github Actions working-directory is working like cd path (https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#defaultsrunworking-directory).

To deal with this i created PR https://github.com/danielpalme/ReportGenerator-GitHub-Action/pull/26

kubajanusz avatar Apr 17 '25 12:04 kubajanusz