Skip to content

Release v1.20.0

Release v1.20.0 #68

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
#--------------------------------------------------
# Build and Tests the project on Linux
#--------------------------------------------------
tests:
name: tests
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: 'Setup: checkout project'
uses: actions/checkout@v2
- name: 'Setup: environment'
id: setup
uses: ./.github/actions/setup
- name: 'Init: cache local Maven repository'
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: 'Test: run tests'
run: |
chmod +x mvnw
./mvnw clean verify
- name: 'Analysis: SonarCloud'
if: github.repository == 'jhipster/jhipster-lite-sample-app' && github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./mvnw initialize sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.projectKey=jhipster_jhipster-lite-sample-app -Dsonar.organization=jhipster -Dsonar.login= -Dsonar.password=