From b3882848b129e490d6b2fb30cebed0019966c6af Mon Sep 17 00:00:00 2001 From: Damien Jeandemange Date: Mon, 16 Dec 2024 11:16:26 +0100 Subject: [PATCH] fix Signed-off-by: Damien Jeandemange --- .github/workflows/snapshot-ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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: |