This commit is contained in:
XXXXRT666 2025-05-14 01:15:47 +01:00
parent a682d3ece9
commit 7787b5760e
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
$ErrorActionPreference = "Stop"
$workDir = $env:WORK_DIR
Set-Location $workDir
$today = Get-Date -Format "MMdd"
$cuda = $env:TORCH_CUDA
if (-not $cuda) {

View File

@ -21,5 +21,8 @@ jobs:
- name: Run Build and Upload Script
shell: pwsh
run: |
$curr = Get-Location
echo "WORK_DIR=$curr" >> $env:GITHUB_ENV
Move-Item .github/build_windows_packages.ps1 ../build_windows_packages.ps1
../build_windows_packages.ps1
Set-Location ../
build_windows_packages.ps1