Release v1.17.0 #2490
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
name: CI | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'release-v**' | |
tags: | |
- 'v[0-9]*' | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Checkout sources | |
uses: actions/checkout@v1 | |
- name: Build with Maven | |
run: mvn --batch-mode -Pjacoco verify | |
- name: Run SonarCloud analysis on server | |
run: > | |
mvn --batch-mode -DskipTests sonar:sonar | |
-Dsonar.host.url=https://sonarcloud.io | |
-Dsonar.organization=powsybl-ci-github | |
-Dsonar.projectKey=com.powsybl:powsybl-network-store | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
- name: Broadcast update event | |
if: github.ref == 'refs/heads/main' | |
uses: gridsuite/broadcast-event@main | |
with: | |
token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
organizations: gridsuite | |
event-type: network_store_updated |