File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -427,14 +427,20 @@ jobs:
427
427
428
428
# Install the latest version of GNU patch to avoid using the problematic patch.exe
429
429
# from Strawberry Perl which sometimes crashes (Googlers see b/236958574).
430
- - name : Install patch.exe (Windows)
430
+ - name : Install patch.exe via Chocolatey (Windows)
431
431
if : startsWith(matrix.os, 'windows')
432
432
uses : nick-invision/retry@v2
433
433
with :
434
434
timeout_minutes : 4
435
435
max_attempts : 3
436
436
shell : bash
437
437
command : choco install patch --yes --nocolor
438
+
439
+ - name : Add patch.exe from Chocolatey to the front of the PATH (Windows)
440
+ if : startsWith(matrix.os, 'windows')
441
+ shell : bash
442
+ run : |
443
+ echo 'C:\\ProgramData\\chocolatey\\lib\\patch\\tools\\bin' >> $GITHUB_PATH
438
444
439
445
# Run the build in the host OS default shell since Windows can't handle long path names in bash.
440
446
- name : Build desktop SDK
You can’t perform that action at this time.
0 commit comments