Post release 1.1-NX01 #25
This file contains 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
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Java CI with Maven | |
on: | |
workflow_dispatch: # Allows to run workflow manually | |
push: | |
branches: [ test-suite-v2 ] | |
pull_request: | |
branches: [ test-suite-v2 ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup Java | |
uses: actions/[email protected] | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
cache: maven | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 16 | |
- name: Build with Maven | |
run: mvn package | |
- name: Publish Test Report | |
uses: mikepenz/[email protected] | |
if: always() # always run even if the previous step fails | |
with: | |
report_paths: '**/target/surefire-reports/TEST-*.xml' |