mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-08-25 15:04:33 +08:00
WIP
This commit is contained in:
parent
669fd7d56e
commit
3ac3fffa75
3
.github/build_windows_packages.ps1
vendored
3
.github/build_windows_packages.ps1
vendored
@ -18,7 +18,6 @@ if ($date -and $date.Trim() -ne "") {
|
||||
$pkgName = "GPT-SoVITS-$date"
|
||||
$tmpDir = "tmp"
|
||||
$srcDir = $workDir
|
||||
Write-Host "111$workDir"
|
||||
|
||||
$suffix = $env:PKG_SUFFIX
|
||||
if ($suffix -and $suffix.Trim() -ne "") {
|
||||
@ -61,8 +60,6 @@ function DownloadAndUnzip($url, $targetRelPath) {
|
||||
Invoke-WebRequest $url -OutFile $tmpZip
|
||||
Expand-Archive -Path $tmpZip -DestinationPath $tmpDir -Force
|
||||
Get-ChildItem .
|
||||
Write-Host "$tmpDir\$($filename -replace '\.zip$', '')"
|
||||
Write-Host "$srcDir\$targetRelPath"
|
||||
Move-Item "$tmpDir\$($filename -replace '\.zip$', '')" "$srcDir\$targetRelPath" -Force
|
||||
Remove-Item $tmpZip
|
||||
}
|
||||
|
@ -35,8 +35,7 @@ jobs:
|
||||
shell: pwsh
|
||||
run: |
|
||||
$curr = Get-Location
|
||||
echo "WORK_DIR=$curr" >> $env:GITHUB_ENV
|
||||
Move-Item .github/build_windows_packages.ps1 ../build_windows_packages.ps1
|
||||
Set-Location ../
|
||||
Get-ChildItem .
|
||||
./build_windows_packages.ps1
|
||||
pwsh -Command "& { $env:workDir='$curr'; ./build_windows_packages.ps1 }"
|
Loading…
x
Reference in New Issue
Block a user