Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github-actions tail/upload ordering/naming improvements #170

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 19 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,38 @@ jobs:
run: mvn dependency:resolve

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

- name: Print logs
if: ${{ always() }}
run: |
tail -n 500 maven-install-output.txt
tail -n 500 target/it-tests/junit-test/build.log
tail -n 500 output.txt
tail -n 500 target/it-tests/gwt-jar-test/build.log
tail -n 500 target/it-tests/timezone-test/build.log

- uses: actions/upload-artifact@v2
if: failure()
with:
name: build.log
name: maven-install-output.txt
path: maven-install-output.txt

- uses: actions/upload-artifact@v2
if: failure()
with:
name: gwt-jar-test-build.log
path: target/it-tests/gwt-jar-test/build.log

- uses: actions/upload-artifact@v2
if: failure()
with:
name: junit-test-build.log
path: target/it-tests/junit-test/build.log

- uses: actions/upload-artifact@v2
if: failure()
with:
name: output.txt
path: output.txt
name: timezone-test-build.log
path: target/it-tests/timezone-test/build.log


Loading