Skip to content

Commit bed61b8

Browse files
committed
fail GitHub action on warning (and error)
1 parent 3fa2385 commit bed61b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ epub:
88
-r asciidoctor-diagram \
99
-a imagesdir=images \
1010
-a rouge-style=github \
11+
--failure-level WARN \
1112
main.adoc \
1213
-o dist/$(FILENAME)-$(VERSION).epub
1314

@@ -20,6 +21,7 @@ pdf:
2021
-a pdf-themesdir=theme \
2122
-a pdf-fontsdir="theme;GEM_FONTS_DIR" \
2223
-a pdf-theme=custom \
24+
--failure-level WARN \
2325
main.adoc \
2426
-o dist/$(FILENAME)-$(VERSION).pdf
2527

0 commit comments

Comments
 (0)