Skip to content

Commit eb814bc

Browse files
authored
Update build-test-windows.yml
1 parent 1e798af commit eb814bc

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

.github/workflows/build-test-windows.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,6 @@ jobs:
2020
- name: Checkout repository
2121
uses: actions/checkout@v4
2222

23-
- name: Monitor _temp folder and copy setup.ps1
24-
shell: powershell
25-
run: |
26-
$debugFolder = "C:\GitHubActionsRunner\debug"
27-
if (!(Test-Path -Path $debugFolder)) {
28-
New-Item -ItemType Directory -Path $debugFolder
29-
}
30-
31-
Start-Job -ScriptBlock {
32-
$tempFolder = "C:\GitHubActionsRunner\_work\_temp"
33-
$debugFolder = "C:\GitHubActionsRunner\debug"
34-
$fileCopied = $false
35-
36-
while (-not $fileCopied) {
37-
$setupFile = Get-ChildItem -Path $tempFolder -Recurse -Filter "setup.ps1" -ErrorAction SilentlyContinue | Select-Object -First 1
38-
39-
if ($setupFile) {
40-
Copy-Item -Path $setupFile.FullName -Destination $debugFolder -Force
41-
Write-Output "setup.ps1 copied to debug folder: $($setupFile.FullName)"
42-
$fileCopied = $true
43-
}
44-
Start-Sleep -Seconds 1
45-
}
46-
}
47-
4823
- name: Install Python
4924
uses: actions/setup-python@v5
5025
with:

0 commit comments

Comments
 (0)