diff --git a/.github/workflows/snapshot-ci.yml b/.github/workflows/snapshot-ci.yml index af83ac4..446bfbb 100644 --- a/.github/workflows/snapshot-ci.yml +++ b/.github/workflows/snapshot-ci.yml @@ -41,6 +41,7 @@ jobs: # Define script path variable - name: Set up script path + shell: bash run: | SCRIPTS_PATH="${GITHUB_WORKSPACE}/scripts/.github/workflows/scripts" if [[ "${{ matrix.os }}" == "windows-latest" ]]; then @@ -92,17 +93,17 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 - - name: update pom.xml with snapshot versions - run: | - mvn versions:set-property -Dproperty=powsybl-core.version -DnewVersion=$CORE_VERSION -DgenerateBackupPoms=false - mvn versions:set-property -Dproperty=powsybl-open-loadflow.version -DnewVersion=$LOADFLOW_VERSION -DgenerateBackupPoms=false - - name: Set up JDK 17 uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '17' + - name: update pom.xml with snapshot versions + run: | + mvn versions:set-property -Dproperty=powsybl-core.version -DnewVersion=$CORE_VERSION -DgenerateBackupPoms=false + mvn versions:set-property -Dproperty=powsybl-open-loadflow.version -DnewVersion=$LOADFLOW_VERSION -DgenerateBackupPoms=false + - name: Build with Maven (Ubuntu) if: matrix.os != 'windows-latest' run: |