Upgrade/1.x/nsa upgrade java and spring boot version #882
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
# 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 |