Skip to content

Commit 7565e0c

Browse files
author
Matthias Koeppe
committed
.github/workflows/doc-build-pdf.yml: Fix get_ci_fixes when there are no fixes
1 parent c4f4310 commit 7565e0c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/doc-build-pdf.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
- name: Store CI fixes in upstream artifact
3636
run: |
3737
mkdir -p upstream
38-
git format-patch --stdout test_base > upstream/ci_fixes.patch
38+
if git format-patch --stdout test_base > ci_fixes.patch; then
39+
cp ci_fixes.patch upstream/
40+
fi
3941
- uses: actions/upload-artifact@v3
4042
with:
4143
path: upstream

0 commit comments

Comments
 (0)