Skip to content

Upgrade/1.x/nsa upgrade java and spring boot version #882

Upgrade/1.x/nsa upgrade java and spring boot version

Upgrade/1.x/nsa upgrade java and spring boot version #882

Workflow file for this run

# Builds Pull-requests to key branches
name: Pull request CI with maven and npm. Builds backend and frontend
on:
pull_request:
branches:
- develop
- master
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.5.0
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Free disk space
run: |
sudo apt clean
docker rmi $(docker image ls -aq)
docker system prune -af
echo "Available space"
df -h
- name: Build project and run default test suite
run: ./scripts/build_and_test.sh
env:
MAVEN_OPTS: "-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120" # Github-on-Azure tweaks - https://github.com/actions/virtual-environments/issues/1499
- name: Build FireFly improter
run: ./scripts/build_firefly_exporter_mvn.sh
env:
MAVEN_OPTS: "-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120" # Github-on-Azure tweaks - https://github.com/actions/virtual-environments/issues/1499