From 653ad544f014b98a99155f60f665453d9e6f78a7 Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Tue, 29 Dec 2020 14:29:58 -0800 Subject: [PATCH] Create tmp dir if doesn't exist --- action.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.ps1 b/action.ps1 index bb16309..a8d3e86 100644 --- a/action.ps1 +++ b/action.ps1 @@ -36,6 +36,8 @@ $tmpDir = Join-Path $PWD _TMP $test_results_path = $inputs.test_results_path $test_report_path = Join-Path $tmpDir test-results.md +New-Item -Name $tmpDir -ItemType "directory" -Force + function Build-MarkdownReport { $script:report_name = $inputs.report_name $script:report_title = $inputs.report_title