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