Skip to content

Merge pull request #883 from dbulatovicx32/KNOWAGE-8149 #7

Merge pull request #883 from dbulatovicx32/KNOWAGE-8149

Merge pull request #883 from dbulatovicx32/KNOWAGE-8149 #7

Workflow file for this run

name: "Build"
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: maven-${{ hashFiles('**/pom.xml') }}
restore-keys: maven-
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.8.2
- 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: Build
run: mvn compile -q -f knowage-ce-parent/pom.xml