Skip to content

Commit 546fed1

Browse files
authored
Update build-test-windows.yml
1 parent 7f4f539 commit 546fed1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,21 @@ jobs:
2525
with:
2626
python-version: '3.9'
2727

28+
- name: Copy setup.ps1 to debug folder
29+
run: |
30+
if (!(Test-Path -Path "C:\GitHubActionsRunner\debug")) {
31+
New-Item -ItemType Directory -Path "C:\GitHubActionsRunner\debug"
32+
}
33+
34+
$tempFolder = "C:\GitHubActionsRunner\_work\_temp"
35+
$debugFolder = "C:\GitHubActionsRunner\debug"
36+
37+
if (Test-Path -Path "$tempFolder") {
38+
Get-ChildItem -Path $tempFolder -Recurse -Filter setup.ps1 | ForEach-Object {
39+
Copy-Item -Path $_.FullName -Destination $debugFolder -Force
40+
}
41+
}
42+
2843
- name: Build Triton
2944
run: |
3045
cd python

0 commit comments

Comments
 (0)