prepare release v4.5.1 #7218
This file contains hidden or 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: CI | |
| on: [push] | |
| jobs: | |
| build: | |
| name: Build OS ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v1 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: 11 | |
| - name: Build with Maven | |
| if: matrix.os == 'ubuntu-latest' | |
| run: mvn --batch-mode -Pcoverage install | |
| - name: Build with Maven | |
| if: matrix.os != 'ubuntu-latest' | |
| run: mvn --batch-mode install | |
| - name: Run SonarCloud analysis | |
| if: matrix.os == 'ubuntu-latest' | |
| run: > | |
| mvn --batch-mode -DskipTests sonar:sonar | |
| -Dsonar.host.url=https://sonarcloud.io | |
| -Dsonar.organization=farao-community | |
| -Dsonar.projectKey=com.farao-community.farao:farao-core | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |