[System Map] Prevent system-map src and dep to go in built jar (solution move website) #151
Workflow file for this run
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: [ pull_request, push, workflow_dispatch ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@main | |
- name: Validate gradle wrapper | |
uses: gradle/wrapper-validation-action@main | |
- name: Setup JDK 17 | |
uses: actions/setup-java@main | |
with: | |
java-version: 17 | |
distribution: 'zulu' | |
- name: Make gradle wrapper executable | |
run: chmod +x ./gradlew | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Setup Node packages | |
run: npm ci --prefix website | |
- name: Build Angular | |
run: npm run build --prefix website | |
- name: Generate schema classes | |
run: ./gradlew generateSchemaClasses | |
- name: Build | |
run: ./gradlew build buildSrc:build | |
- name: Run JUnits | |
run: ./gradlew test | |
- name: Capture main build artifact | |
uses: actions/upload-artifact@main | |
with: | |
name: Main | |
path: build/libs/ | |
- name: Capture JSON schema generator build artifact | |
uses: actions/upload-artifact@main | |
with: | |
name: JSON Schema Generator | |
path: buildSrc/build/libs/ |