Skip to content

Commit

Permalink
Merge pull request #662 from mP1/feature/github-actions-tail-upload-o…
Browse files Browse the repository at this point in the history
…rdering-naming-improvements

github-actions tail/upload ordering/naming improvements
  • Loading branch information
mP1 authored May 1, 2024
2 parents e7ee919 + 550b750 commit a74f0a1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,19 @@ 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
- uses: actions/upload-artifact@v2
if: failure()
with:
name: maven-install-output.txt
path: maven-install-output.txt

- uses: actions/upload-artifact@v2
if: failure()
Expand Down

0 comments on commit a74f0a1

Please sign in to comment.