Skip to content

Commit

Permalink
remove dumps
Browse files Browse the repository at this point in the history
  • Loading branch information
freddydk committed Mar 17, 2024
1 parent a12c055 commit a2901af
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/DeployToTest.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,16 @@ Param(
$ErrorActionPreference = "Stop"
$parameters | ConvertTo-Json -Depth 99 | Out-Host

$parameters.apps | ForEach-Object {
Write-Host $_
Write-Host $_.GetType()
Get-ChildItem -Path $_ -recurse | ForEach-Object { Write-Host "- $($_.FullName)" }
}

$parameters.apps.GetType()
$parameters.apps | ForEach-Object {
Write-Host "Copy $_"
Write-Host $_.GetType()
}
$tempPath = Join-Path ([System.IO.Path]::GetTempPath()) ([GUID]::NewGuid().ToString())
New-Item -ItemType Directory -Path $tempPath | Out-Null

Copy-AppFilesToFolder -appFiles $parameters.apps -folder $tempPath | Out-Null
$appsList = Get-ChildItem -Path $tempPath -Recurse -Filter *.app

$appsList = Get-ChildItem -Path $tempPath -Filter *.app
if (-not $appsList -or $appsList.Count -eq 0) {
Write-Host "::error::No apps to publish found."
exit 1
}

Write-Host "Apps:"
$appsList | ForEach-Object { Write-Host "- $($_.FullName)" }
$appsList | ForEach-Object { Write-Host "- $($_.Name)" }

0 comments on commit a2901af

Please sign in to comment.