We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 835356a commit 39c9e17Copy full SHA for 39c9e17
.github/workflows/ci.yml
@@ -34,7 +34,11 @@ jobs:
34
- name: Print Version
35
run: mvn -v
36
- name: Build
37
- run: mvn -U -B -fae -DskipTests -Dfindbugs clean install
+ run: |
38
+ mvn -U -B -fae -DskipTests -Dfindbugs clean install | tee outfile.txt
39
+ echo "Checking for build errors"
40
+ grep \\[ERROR\\] outfile.txt && echo "Found errors, see above" || echo "No errors found"
41
+ ! $(grep -q \\[ERROR\\] outfile.txt )
42
- name: Tar Maven Repo
43
shell: bash
44
run: tar -czf maven-repo.tgz -C ~ .m2/repository
0 commit comments