Skip to content

Commit 8f435aa

Browse files
authored
Merge pull request #4055 from yue9944882/fix-patch-workflow
Fix patch workflow - fix linux patch command compatibility
2 parents fcb92c9 + 78ddf29 commit 8f435aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/generate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
- name: Apply Manual Diffs
8181
if: ${{ github.event.inputs.skip_patches != 'true' }}
8282
run: |
83-
ls scripts/patches/*.diff | xargs -I {} patch -p0 -i {}
83+
ls scripts/patches/*.diff | xargs -I {} bash -xc 'patch -p1 < "{}"'
8484
git add *.java
8585
git commit -s -m 'Applied patches under scripts/patches/*.diff'
8686
- name: Generate Fluent

0 commit comments

Comments
 (0)