mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-12 12:06:29 +00:00
adds wildcard for .xml
This commit is contained in:
parent
741e6070c8
commit
565772933f
1 changed files with 1 additions and 1 deletions
2
.github/scripts/ZipBuildOutput.ps1
vendored
2
.github/scripts/ZipBuildOutput.ps1
vendored
|
|
@ -2,7 +2,7 @@ $destination = "$($Env:GITHUB_WORKSPACE)\output"
|
||||||
New-Item -ItemType Directory -Force -Path ($destination)
|
New-Item -ItemType Directory -Force -Path ($destination)
|
||||||
Get-ChildItem ($destination)
|
Get-ChildItem ($destination)
|
||||||
$exclusions = @(git submodule foreach --quiet 'echo $name')
|
$exclusions = @(git submodule foreach --quiet 'echo $name')
|
||||||
Get-ChildItem -recurse -Path "$($Env:GITHUB_WORKSPACE)" -include @("*.clz", "*.cpz", "*.cplz", ".xml", "$($Env:GITHUB_WORKSPACE).dll") | ForEach-Object {
|
Get-ChildItem -recurse -Path "$($Env:GITHUB_WORKSPACE)" -include @("*.clz", "*.cpz", "*.cplz", "*.xml", "$($Env:GITHUB_WORKSPACE).dll") | ForEach-Object {
|
||||||
$allowed = $true;
|
$allowed = $true;
|
||||||
foreach ($exclude in $exclusions) {
|
foreach ($exclude in $exclusions) {
|
||||||
if ((Split-Path $_.FullName -Parent).contains("$($exclude)")) {
|
if ((Split-Path $_.FullName -Parent).contains("$($exclude)")) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue