Skip to content

Commit 1df1f42

Browse files
committed
Fail workflow if files cannot be uploaded
1 parent 5739a3b commit 1df1f42

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/qhelp-pr-preview.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
with:
4141
name: comment
4242
path: pr_number.txt
43+
if-no-files-found: error
4344
retention-days: 1
4445

4546
- uses: actions/checkout@v2
@@ -81,6 +82,7 @@ jobs:
8182
with:
8283
name: comment
8384
path: comment_body.txt
85+
if-no-files-found: error
8486
retention-days: 1
8587

8688
- name: Save ID of existing QHelp comment (if it exists)
@@ -96,4 +98,5 @@ jobs:
9698
with:
9799
name: comment
98100
path: comment_id.txt
101+
if-no-files-found: error
99102
retention-days: 1

0 commit comments

Comments
 (0)