From 7787b5760e65f61c28a8b99f38e14887f12c87e4 Mon Sep 17 00:00:00 2001 From: XXXXRT666 <157766680+XXXXRT666@users.noreply.github.com> Date: Wed, 14 May 2025 01:15:47 +0100 Subject: [PATCH] WIP --- .github/build_windows_packages.ps1 | 3 +++ .github/workflows/build_windows_packages.yaml | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/build_windows_packages.ps1 b/.github/build_windows_packages.ps1 index 1a7ba3b5..b63d4d52 100644 --- a/.github/build_windows_packages.ps1 +++ b/.github/build_windows_packages.ps1 @@ -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) { diff --git a/.github/workflows/build_windows_packages.yaml b/.github/workflows/build_windows_packages.yaml index 822e645c..adf8476b 100644 --- a/.github/workflows/build_windows_packages.yaml +++ b/.github/workflows/build_windows_packages.yaml @@ -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 \ No newline at end of file + Set-Location ../ + build_windows_packages.ps1 \ No newline at end of file