Commit 6c50e8a
committed
whoops, GitHub apparently ends if any of the commands in the PowerShell script fail. I had some dir listings relvant to gitlab left over, and this caused the entire job to fail in 13s
Directory: D:\a\cross-platform-python-gui\cross-platform-python-gui
Mode LastWriteTime Length Name
---- ------------- ------ ----
d--h-- 5/31/2020 9:12 PM .git
d----- 5/31/2020 9:12 PM .github
d----- 5/31/2020 9:12 PM build
d----- 5/31/2020 9:12 PM src
-a---- 5/31/2020 9:12 PM 35787 LICENSE
-a---- 5/31/2020 9:12 PM 956 README.md
-a---- 5/31/2020 9:12 PM 6 requirements.txt
DEBUG: 34+ >>>> Write-Output 'INFO: Beginning execution'
INFO: Beginning execution
DEBUG: 36+ >>>> Write-Output "INFO: Inspect gitlab's python version"
INFO: Inspect gitlab's python version
DEBUG: 37+ >>>> Get-ChildItem -Path C:\Users\gitlab_runner -Force | Out-String
Get-ChildItem : Cannot find path 'C:\Users\gitlab_runner' because it does not exist.
At D:\a\cross-platform-python-gui\cross-platform-python-gui\build\windows\buildExe.ps1:37 char:1
+ Get-ChildItem -Path C:\Users\gitlab_runner -Force | Out-String
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\gitlab_runner:String) [Get-ChildItem], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
##[error]Process completed with exit code 1.
Let's remove those lines and try again..1 parent 9ce1252 commit 6c50e8a
2 files changed
+1
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 36 | | |
45 | 37 | | |
46 | 38 | | |
| |||
0 commit comments