Skip to content

Commit 054b842

Browse files
committed
apply patch
1 parent 9e997f6 commit 054b842

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/build.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ jobs:
3333
- name: Apply patch
3434
if: matrix.demo == true
3535
run: |
36-
git diff origin/main..origin/demo > demo.patch
36+
git config --global user.name "github-actions[bot]"
37+
git config --global user.email "[email protected]"
38+
git diff --binary origin/main...origin/demo > demo.patch
3739
git apply demo.patch
3840
3941
- name: Install dependencies
@@ -164,7 +166,9 @@ jobs:
164166
- name: Apply patch
165167
if: matrix.demo == true
166168
run: |
167-
git diff origin/main..origin/demo > demo.patch
169+
git config --global user.name "github-actions[bot]"
170+
git config --global user.email "[email protected]"
171+
git diff --binary origin/main...origin/demo > demo.patch
168172
git apply demo.patch
169173
170174
- name: Install Qt
@@ -227,7 +231,9 @@ jobs:
227231
- name: Apply patch
228232
if: matrix.demo == true
229233
run: |
230-
git diff origin/main..origin/demo > demo.patch
234+
git config --global user.name "github-actions[bot]"
235+
git config --global user.email "[email protected]"
236+
git diff --binary origin/main...origin/demo > demo.patch
231237
git apply demo.patch
232238
233239
- name: Install Qt (MinGW)

0 commit comments

Comments
 (0)