Skip to content

Bump version to 3.9.0 #91

Bump version to 3.9.0

Bump version to 3.9.0 #91

Workflow file for this run

name: Build (npm + maven) + Report
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.sha }}
cancel-in-progress: true
jobs:
build-frontend:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Update npm dependencies
run: ./build.sh --npm
- name: Build jsx
run: ./build.sh --jsx-force
- uses: actions/upload-artifact@v3
with:
name: frontend-artifact
path: src/main/resources/assets
build-backend:
needs: build-frontend
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [11.x]
steps:
- uses: actions/checkout@v3
- name: Use Java ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven
- name: Fetch frontend build result
uses: actions/download-artifact@v3
with:
name: frontend-artifact
- name: Build jar
#run: ./build.sh --jar
run: mvn -ntp clean package
- name: Prepare build artifact for packaging
run: |
mkdir -p staging/target
cp aggregator.yml staging/
cp target/aggregator-*.jar staging/target/
- uses: actions/upload-artifact@v3
with:
name: Package
path: staging
mvn-site-report:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v3
- name: Use Java 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
# XXX: for _now_ does not need access to built frontend artifact, e.g. for tests or similar
- name: Generate report
run: |
mvn -ntp clean site
mv target/site report
- uses: actions/upload-artifact@v3
with:
name: Report
path: report