zyborg / dotnet-tests-report

GitHub Action to run .NET Core tests and generate report attached to Workflow Run
MIT License
112 stars 36 forks source link

Allow creating directory to work cross-platform #25

Closed flcdrg closed 3 years ago

flcdrg commented 3 years ago

Fixes #24

ebekker commented 3 years ago

So you're replacing the fix I had with a command that ignores the error?

flcdrg commented 3 years ago

Yes, so that it works cross platform and allows the action to not fail if you're trying to use the test_path_results property.

If you prefer I could change it to something like if (-not (Test-Path $tmpDir)) { New-Item -Name $tmpDir -ItemType Directory }