Skip to content

Commit

Permalink
Fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveDunn committed Nov 1, 2023
1 parent 585782e commit 0c14922
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions RunSnapshots.ps1
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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...")
Expand Down

0 comments on commit 0c14922

Please sign in to comment.