From 81a7dbbe7a6be5bddd1917978413277b6d750021 Mon Sep 17 00:00:00 2001 From: Florian Dupuy Date: Wed, 26 Jun 2024 13:48:28 +0200 Subject: [PATCH] Revert CI changes Signed-off-by: Florian Dupuy --- .github/workflows/maven.yml | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index aa2a54f9e..909d4fa1b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -18,40 +18,28 @@ jobs: steps: - name: Checkout sources - uses: actions/checkout@v4 - with: - path: main - - - name: Checkout powsybl-core branch - uses: actions/checkout@v4 - with: - repository: powsybl/powsybl-core - ref: refs/heads/main - path: powsybl-core + uses: actions/checkout@v1 - name: Set up JDK 17 uses: actions/setup-java@v1 with: java-version: 17 - - name: Build and install powsybl-core with Maven - run: mvn --batch-mode -DskipTests=true --file ./powsybl-core/pom.xml install - - name: Build with Maven if: matrix.os == 'ubuntu-latest' - run: mvn --batch-mode -Pintegration-tests,jacoco --file ./main/pom.xml install + run: mvn --batch-mode -Pintegration-tests,jacoco install - name: Build with Maven if: matrix.os != 'ubuntu-latest' - run: mvn --batch-mode --file ./main/pom.xml install + run: mvn --batch-mode install - name: Run SonarCloud analysis if: matrix.os == 'ubuntu-latest' run: > - mvn --batch-mode -DskipTests --file ./main/pom.xml sonar:sonar + mvn --batch-mode -DskipTests sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=powsybl-ci-github -Dsonar.projectKey=com.powsybl:powsybl-dynawo env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}