Use Gitea Actions for Windows validation
Windows tests / test-and-build (push) Canceled after 0s

This commit is contained in:
0x000 committed 2026-09-22 21:25:53 -04:00
1 parent a515538438
commit 942b849306
4 files changed
+34 -35

No files matched your search

+2 -2
View File
@@ -12,8 +12,8 @@ $zipPath=Join-Path $output ("ms-private-$Version.zip")
if (Test-Path -LiteralPath $zipPath) {throw 'Archive already exists. Choose an empty output directory to avoid overwriting a release.'}
$root=[IO.Path]::GetFullPath($PSScriptRoot)
# Explicit source folders: never include local reports, research archives or dependencies.
$files=@(Get-ChildItem -LiteralPath $root -File | Where-Object { $_.Extension -in @('.ps1','.md') -or $_.Name -in @('.gitignore','.gitattributes','.gitlab-ci.yml') })
foreach ($folder in @('src','config','tests','docs','ame','native')) {
$files=@(Get-ChildItem -LiteralPath $root -File | Where-Object { $_.Extension -in @('.ps1','.md') -or $_.Name -in @('.gitignore','.gitattributes') })
foreach ($folder in @('src','config','tests','docs','.gitea','ame','native')) {
$files+=@(Get-ChildItem -LiteralPath (Join-Path $root $folder) -Recurse -File -Force | Where-Object { $_.FullName -notmatch '[\\/](bin|obj)[\\/]' })
}
$zip=[IO.Compression.ZipFile]::Open($zipPath,[IO.Compression.ZipArchiveMode]::Create)