feat!: auto-generate from palette.json
(#3)
#42
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: '**' | |
paths: | |
- 'src/**' | |
- 'pom.xml' | |
pull_request: | |
branches: '**' | |
paths: | |
- 'src/**' | |
- 'pom.xml' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: '8' | |
cache: 'maven' | |
- name: Build | |
run: mvn -B -DskipTests clean package | |
- name: Test | |
run: mvn test | |
- name: Archive Palette Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: palette-jars | |
path: ./palette/target/*.jar | |
- name: Archive Processing Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: processing-jars | |
path: ./processing/target/*.jar |