Skip to content

Commit 4de6a3c

Browse files
authored
Merge pull request #4041 from yue9944882/fix-patch-cmd
Use patch cmd instead of `git apply` for conflict toleration
2 parents c362000 + 957b167 commit 4de6a3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/generate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ jobs:
8080
- name: Apply Manual Diffs
8181
if: ${{ github.event.inputs.skip_patches != 'true' }}
8282
run: |
83-
ls scripts/patches/*.diff | xargs git apply
84-
git add .
83+
ls scripts/patches/*.diff | xargs -I {} patch -i {}
84+
git add *.java
8585
git commit -s -m 'Applied patches under scripts/patches/*.diff'
8686
- name: Generate Fluent
8787
run: |

0 commit comments

Comments
 (0)