diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 30d355d..020fd27 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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()