Merge remote-tracking branch 'origin/fix_PM_int_1' #246
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
name: "Build" | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'master' | |
- 'knowage-server-*' | |
pull_request: | |
pull_request_target: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '8' | |
cache: 'maven' | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
# cache: 'npm' | |
- name: Setting up | |
uses: s4u/[email protected] | |
with: | |
servers: | | |
[{ | |
"id": "knowage-group", | |
"username": "${{ secrets.KNOWAGE_NEXUS_USERNAME }}", | |
"password": "${{ secrets.KNOWAGE_NEXUS_PASSWORD }}" | |
}] | |
mirrors: | | |
[{ | |
"id": "knowage-group", | |
"name": "KNOWAGE Nexus", | |
"mirrorOf": "*", | |
"url": "${{ secrets.KNOWAGE_NEXUS_URL_KNOWAGE_GROUP }}" | |
}] | |
- name: Check POMs | |
run: mvn sortpom:verify -q -f knowage-ce-parent/pom.xml | |
- name: Checkstyle | |
run: mvn checkstyle:check -q -f knowage-ce-parent/pom.xml | |
- name: Build | |
run: mvn compile -pl -:knowage-vue -q -f knowage-ce-parent/pom.xml |