Skip to content

Commit f3f36d9

Browse files
authored
Merge pull request #170 from mP1/feature/github-actions-tail-upload-ordering-naming-improvements
github-actions tail/upload ordering/naming improvements
2 parents 0c8e31e + 1367e72 commit f3f36d9

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

.github/workflows/build.yaml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,38 @@ jobs:
2424
run: mvn dependency:resolve
2525

2626
- name: Maven install
27-
run: mvn install -Dmaven.javadoc.skip=true -B -V -e > output.txt
27+
run: mvn install -Dmaven.javadoc.skip=true -B -V -e > maven-install-output.txt
2828

2929
- name: Print logs
3030
if: ${{ always() }}
3131
run: |
32+
tail -n 500 maven-install-output.txt
3233
tail -n 500 target/it-tests/junit-test/build.log
33-
tail -n 500 output.txt
34+
tail -n 500 target/it-tests/gwt-jar-test/build.log
35+
tail -n 500 target/it-tests/timezone-test/build.log
3436
3537
- uses: actions/upload-artifact@v2
3638
if: failure()
3739
with:
38-
name: build.log
40+
name: maven-install-output.txt
41+
path: maven-install-output.txt
42+
43+
- uses: actions/upload-artifact@v2
44+
if: failure()
45+
with:
46+
name: gwt-jar-test-build.log
47+
path: target/it-tests/gwt-jar-test/build.log
48+
49+
- uses: actions/upload-artifact@v2
50+
if: failure()
51+
with:
52+
name: junit-test-build.log
3953
path: target/it-tests/junit-test/build.log
4054

4155
- uses: actions/upload-artifact@v2
4256
if: failure()
4357
with:
44-
name: output.txt
45-
path: output.txt
58+
name: timezone-test-build.log
59+
path: target/it-tests/timezone-test/build.log
4660

4761

0 commit comments

Comments
 (0)