diff --git a/.github/build_windows_packages.ps1 b/.github/build_windows_packages.ps1 index 3d960667..02af31fa 100644 --- a/.github/build_windows_packages.ps1 +++ b/.github/build_windows_packages.ps1 @@ -112,8 +112,9 @@ $innerTar = Get-ChildItem "$tmpDir" -Filter "*.tar" | Select-Object -First 1 Remove-Item $jtalkTar Remove-Item $innerTar.FullName -Write-Host "[INFO] Preparing final directory $pkgName ..." -Remove-Item "$tmpDir" -Force -Recurse -ErrorAction SilentlyContinue +Write-Host "[INFO] Preparing final directory $pkgName ..."、 +$items = @(Get-ChildItem -Filter "*.ipynb", Get-ChildItem -Filter "*.sh", "$tmpDir", ".github", "Docker", "docs", ".gitignore", ".dockerignore", "README.md") +Remove-Item $items -Force -Recurse -ErrorAction SilentlyContinue $curr = Get-Location Set-Location ../ Get-ChildItem . diff --git a/.github/workflows/build_windows_packages.yaml b/.github/workflows/build_windows_packages.yaml index 5b034b23..822e645c 100644 --- a/.github/workflows/build_windows_packages.yaml +++ b/.github/workflows/build_windows_packages.yaml @@ -20,4 +20,6 @@ jobs: - name: Run Build and Upload Script shell: pwsh - run: .github/build_windows_packages.ps1 \ No newline at end of file + run: | + Move-Item .github/build_windows_packages.ps1 ../build_windows_packages.ps1 + ../build_windows_packages.ps1 \ No newline at end of file