mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-12-17 18:38:11 +08:00
WIP
This commit is contained in:
parent
aa665c40f9
commit
141195edca
8
.github/build_windows_packages.ps1
vendored
8
.github/build_windows_packages.ps1
vendored
@ -1,12 +1,6 @@
|
||||
param (
|
||||
[string]$workDir
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
Set-Location -Path $workDir
|
||||
Write-Host "Current location: $(Get-Location)"
|
||||
Get-ChildItem .
|
||||
|
||||
$cuda = $env:TORCH_CUDA
|
||||
if (-not $cuda) {
|
||||
@ -140,7 +134,7 @@ Remove-Item $items -Force -Recurse -ErrorAction SilentlyContinue
|
||||
$curr = Get-Location
|
||||
Set-Location ../
|
||||
Get-ChildItem .
|
||||
Rename-Item -Path $curr -NewName $pkgName
|
||||
Copy-Item -Path $curr -Destination $pkgName -Recurse
|
||||
& "C:\Program Files\7-Zip\7z.exe" a -tzip "$zipPath" "$pkgName" -mx=5 -bsp1
|
||||
|
||||
python -m pip install --upgrade pip
|
||||
|
||||
@ -34,8 +34,5 @@ jobs:
|
||||
- name: Run Build and Upload Script
|
||||
shell: pwsh
|
||||
run: |
|
||||
$curr = Get-Location
|
||||
Move-Item .github/build_windows_packages.ps1 ../build_windows_packages.ps1
|
||||
Set-Location ../
|
||||
Get-ChildItem .
|
||||
./build_windows_packages.ps1 -workDir $curr.Path
|
||||
../build_windows_packages.ps1
|
||||
Loading…
x
Reference in New Issue
Block a user