From 5fe3003bfe2c544760da620e16b6bf0dc412de90 Mon Sep 17 00:00:00 2001 From: David Gardiner Date: Sat, 15 May 2021 18:46:15 +0930 Subject: [PATCH] Allow creating directory to work cross-platform Fixes #24 --- action.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/action.ps1 b/action.ps1 index ac2fbe6..b0f328f 100644 --- a/action.ps1 +++ b/action.ps1 @@ -41,8 +41,7 @@ Write-ActionInfo "Resolved tmpDir as [$tmpDir]" $test_results_path = $inputs.test_results_path $test_report_path = Join-Path $tmpDir test-results.md -#New-Item -Name $tmpDir -ItemType "directory" -Force -mkdir $tmpDir -Force +New-Item -Name $tmpDir -ItemType Directory -Force -ErrorAction Ignore function Build-MarkdownReport { $script:report_name = $inputs.report_name