This commit is contained in:
XXXXRT666 2025-05-14 02:47:36 +01:00
parent 356d3d33cc
commit 3549d357c1
2 changed files with 7 additions and 4 deletions

View File

@ -1,9 +1,12 @@
$ErrorActionPreference = "Stop"
$workDir = $env:WORK_DIR
Set-Location $workDir
Get-ChildItem .
param (
[string]$workDir
)
Set-Location -Path $workDir
Write-Host "Current location: $(Get-Location)"
Get-ChildItem .
$cuda = $env:TORCH_CUDA
if (-not $cuda) {

View File

@ -38,4 +38,4 @@ jobs:
Move-Item .github/build_windows_packages.ps1 ../build_windows_packages.ps1
Set-Location ../
Get-ChildItem .
pwsh -Command "& { \$env:workDir='$curr'; ./build_windows_packages.ps1 }"
./build_windows_packages.ps1 -workDir $curr.Path