Merge pull request #283 from mP1/feature/Maven-Vertispan-repos-removed #87
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build | |
| on: push | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download repository | |
| uses: actions/checkout@v2 | |
| - name: Set up JDK 9 | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: 9 | |
| - name: Set up Maven | |
| uses: stCarolas/setup-maven@v4 | |
| with: | |
| maven-version: 3.6.3 | |
| - name: Maven dependency/resolve | |
| run: mvn dependency:resolve | |
| - name: Maven install | |
| run: mvn install -Dmaven.javadoc.skip=true -B -V -e > output.txt | |
| - name: Print logs | |
| if: ${{ always() }} | |
| run: | | |
| tail -n 500 target/it-tests/dateformats-junit-test/build.log | |
| tail -n 500 target/it-tests/dateformatsymbols-junit-test/build.log | |
| tail -n 500 target/it-tests/decimalformat-junit-test/build.log | |
| tail -n 500 target/it-tests/decimalformatsymbols-junit-test/build.log | |
| tail -n 500 target/it-tests/gwt-jar-test/build.log | |
| tail -n 500 output.txt | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: dateformats-junit-test-build.log | |
| path: target/it-tests/dateformats-junit-test/build.log | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: dateformatsymbols-junit-test-build.log | |
| path: target/it-tests/dateformatsymbols-junit-test/build.log | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: decimalformat-junit-test-build.log | |
| path: target/it-tests/decimalformat-junit-test/build.log | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: decimalformatsymbols-junit-test-build.log | |
| path: target/it-tests/decimalformatsymbols-junit-test/build.log | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: decimalformatsymbols-junit-test-build.log | |
| path: target/it-tests/gwt-jar-test/build.log | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: it-output.txt | |
| path: it-output.txt |