From 0c14922b59a9a1cce56fe5f3d08ddadf3d7cb8f2 Mon Sep 17 00:00:00 2001 From: Steve Dunn Date: Wed, 1 Nov 2023 07:11:26 +0000 Subject: [PATCH] Fix github action --- RunSnapshots.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/RunSnapshots.ps1 b/RunSnapshots.ps1 index 554808cfc4..2377627e5b 100644 --- a/RunSnapshots.ps1 +++ b/RunSnapshots.ps1 @@ -1,5 +1,8 @@ param($verbosity = "minimal", [switch] $reset = $false) #quite|q, minimal|m, normal|n, detailed|d +$artifacts = ".\artifacts" +$localPackages = ".\local-global-packages" + function WriteStage([string]$message) { Write-Host "############################################" -ForegroundColor Cyan @@ -42,6 +45,10 @@ function Exec WriteStage("Building release version of Vogen...") +if(Test-Path $artifacts) { Remove-Item $artifacts -Force -Recurse } + +New-Item -Path $artifacts -ItemType Directory + if($reset) { WriteStage("Resetting snapshots...")