diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 12d2326fd..2989120f4 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -22,11 +22,6 @@ jobs: with: path: main - - name: Set up JDK 17 - uses: actions/setup-java@v1 - with: - java-version: 17 - - name: Checkout powsybl-core branch uses: actions/checkout@v4 with: @@ -34,6 +29,11 @@ jobs: ref: refs/heads/dynamic_security_analysis path: powsybl-core + - 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 @@ -54,4 +54,4 @@ jobs: -Dsonar.projectKey=com.powsybl:powsybl-dynawo env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file